├── .gitignore ├── .npmignore ├── .travis.yml ├── .vscode └── tasks.json ├── LICENSE ├── README.md ├── package.json ├── src ├── index.ts ├── models │ ├── accept-ranges.ts │ ├── buffer-operation.ts │ ├── default-operation.ts │ ├── file-operation.ts │ ├── multipart-download.ts │ ├── operation-factory.ts │ ├── operation.ts │ ├── partial-download.ts │ ├── partial-request-query.ts │ └── start-options.ts └── utilities │ ├── file-segmentation.ts │ ├── path-formatter.ts │ ├── url-parser.ts │ └── validation.ts ├── test ├── buffer-operation-test.ts ├── default-operation-test.ts ├── file-operation-test.ts ├── file-segmentation-test.ts ├── multipart-download-test.ts ├── operation-factory-test.ts ├── partial-download-test.ts ├── partial-request-query-test.ts ├── path-formatter-test.ts ├── test-config.ts ├── url-parser-test.ts └── validation-test.ts ├── tsconfig.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | dist 4 | 5 | .nyc_output 6 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/models/accept-ranges.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/accept-ranges.ts -------------------------------------------------------------------------------- /src/models/buffer-operation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/buffer-operation.ts -------------------------------------------------------------------------------- /src/models/default-operation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/default-operation.ts -------------------------------------------------------------------------------- /src/models/file-operation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/file-operation.ts -------------------------------------------------------------------------------- /src/models/multipart-download.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/multipart-download.ts -------------------------------------------------------------------------------- /src/models/operation-factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/operation-factory.ts -------------------------------------------------------------------------------- /src/models/operation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/operation.ts -------------------------------------------------------------------------------- /src/models/partial-download.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/partial-download.ts -------------------------------------------------------------------------------- /src/models/partial-request-query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/partial-request-query.ts -------------------------------------------------------------------------------- /src/models/start-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/models/start-options.ts -------------------------------------------------------------------------------- /src/utilities/file-segmentation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/utilities/file-segmentation.ts -------------------------------------------------------------------------------- /src/utilities/path-formatter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/utilities/path-formatter.ts -------------------------------------------------------------------------------- /src/utilities/url-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/utilities/url-parser.ts -------------------------------------------------------------------------------- /src/utilities/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/src/utilities/validation.ts -------------------------------------------------------------------------------- /test/buffer-operation-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/buffer-operation-test.ts -------------------------------------------------------------------------------- /test/default-operation-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/default-operation-test.ts -------------------------------------------------------------------------------- /test/file-operation-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/file-operation-test.ts -------------------------------------------------------------------------------- /test/file-segmentation-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/file-segmentation-test.ts -------------------------------------------------------------------------------- /test/multipart-download-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/multipart-download-test.ts -------------------------------------------------------------------------------- /test/operation-factory-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/operation-factory-test.ts -------------------------------------------------------------------------------- /test/partial-download-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/partial-download-test.ts -------------------------------------------------------------------------------- /test/partial-request-query-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/partial-request-query-test.ts -------------------------------------------------------------------------------- /test/path-formatter-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/path-formatter-test.ts -------------------------------------------------------------------------------- /test/test-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/test-config.ts -------------------------------------------------------------------------------- /test/url-parser-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/url-parser-test.ts -------------------------------------------------------------------------------- /test/validation-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/test/validation-test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zulhilmizainuddin/multipart-download/HEAD/tslint.json --------------------------------------------------------------------------------