├── .eslintrc ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── README.md ├── package.json ├── src └── index.ts ├── tests ├── api │ ├── buf-type.test.ts │ ├── bytes-to.test.ts │ ├── bytes.test.ts │ ├── chunk.test.ts │ ├── chunks-to-end.test.ts │ ├── chunks.test.ts │ ├── number.test.ts │ ├── skip-to.test.ts │ ├── skip.test.ts │ ├── txt-num.test.ts │ ├── txt-to.test.ts │ ├── txt.test.ts │ └── util.ts ├── demo │ ├── demo-corrupted.bin │ ├── demo.bin │ ├── demo.test.ts │ └── package.json └── performance │ └── readline.test.ts ├── tsconfig.json └── typings ├── index.d.ts ├── index.test-d.ts └── src.test-d.ts /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist/ 3 | coverage/ 4 | .DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/src/index.ts -------------------------------------------------------------------------------- /tests/api/buf-type.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/buf-type.test.ts -------------------------------------------------------------------------------- /tests/api/bytes-to.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/bytes-to.test.ts -------------------------------------------------------------------------------- /tests/api/bytes.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/bytes.test.ts -------------------------------------------------------------------------------- /tests/api/chunk.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/chunk.test.ts -------------------------------------------------------------------------------- /tests/api/chunks-to-end.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/chunks-to-end.test.ts -------------------------------------------------------------------------------- /tests/api/chunks.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/chunks.test.ts -------------------------------------------------------------------------------- /tests/api/number.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/number.test.ts -------------------------------------------------------------------------------- /tests/api/skip-to.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/skip-to.test.ts -------------------------------------------------------------------------------- /tests/api/skip.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/skip.test.ts -------------------------------------------------------------------------------- /tests/api/txt-num.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/txt-num.test.ts -------------------------------------------------------------------------------- /tests/api/txt-to.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/txt-to.test.ts -------------------------------------------------------------------------------- /tests/api/txt.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/txt.test.ts -------------------------------------------------------------------------------- /tests/api/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/api/util.ts -------------------------------------------------------------------------------- /tests/demo/demo-corrupted.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/demo/demo-corrupted.bin -------------------------------------------------------------------------------- /tests/demo/demo.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/demo/demo.bin -------------------------------------------------------------------------------- /tests/demo/demo.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/demo/demo.test.ts -------------------------------------------------------------------------------- /tests/demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/demo/package.json -------------------------------------------------------------------------------- /tests/performance/readline.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tests/performance/readline.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typings/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/typings/index.d.ts -------------------------------------------------------------------------------- /typings/index.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/typings/index.test-d.ts -------------------------------------------------------------------------------- /typings/src.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EtherDream/QuickReader/HEAD/typings/src.test-d.ts --------------------------------------------------------------------------------