Skip to content

A TypeScript library that splits a huge file into multiple segments to be uploaded to a hosting platform with filesize restrictions.

License

Notifications You must be signed in to change notification settings

WorldEditAxe/EPKLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EPKLib

A TypeScript library that splits a huge file into multiple segments to be uploaded to a hosting platform with filesize restrictions.

Usage

BuildLargeEPK.ts

Requires Node.js of version >= 12. Optionally requires TypeScript installed on your computer, but you can use the online compiler instead if you really don't want to install TypeScript for whatever reason

usage: node BuildLargeEPK.js <inFile: path> <outDir: path> <maxFileSize: number>

where:

  • inFile: The file to split.
  • outDir: The output directory for the split files.
  • maxFileSize: The maximum file size, in bytes, of each segment file.

EPKLib.ts

Can be ran in the browser. Best used with jsSHA, a JavaScript implementation of the SHA256 algorithm (as native/built-in browser cryptography isn't present everywhere). Documentation is under construction; please check back later.

About

A TypeScript library that splits a huge file into multiple segments to be uploaded to a hosting platform with filesize restrictions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published