UNPKG

cno-read-by-block

Version:

Micropackage: use NodeJS's promise API to asynchronously read a file by its optimal blocksize.

109 lines 2.63 kB
{ "name": "cno-read-by-block", "version": "0.0.2", "description": "Micropackage: use NodeJS's promise API to asynchronously read a file by its optimal blocksize.", "repository": { "type": "git", "url": "git+https://github.com/Anadian/cno-read-by-block.git" }, "author": "Anadian", "license": "MIT", "type": "module", "exports": { ".": "./src/lib.js" }, "engines": { "node": ">=18" }, "bugs": { "url": "https://github.com/Anadian/cno-read-by-block/issues" }, "homepage": "https://github.com/Anadian/cno-read-by-block#readme", "keywords": [ "file", "io", "utility", "fs", "block", "micropackage", "libre", "free", "open", "mit" ], "standard-version": { "types": [ { "type": "build", "section": "Build", "hidden": false }, { "type": "ci", "section": "Continuous Integration", "hidden": false }, { "type": "chore", "section": "Chores", "hidden": false }, { "type": "docs", "section": "Documentation", "hidden": false }, { "type": "feat", "section": "Features", "hidden": false }, { "type": "fix", "section": "Bug Fixes", "hidden": false }, { "type": "perf", "section": "Performance", "hidden": false }, { "type": "refactor", "section": "Refactoring", "hidden": false }, { "type": "style", "section": "Code Style", "hidden": false }, { "type": "test", "section": "Tests", "hidden": false } ] }, "devDependencies": { "c8": "^10.1.3", "cno-test": "^0.1.1", "eslint": "^9.21.0", "extract-documentation-comments": "^0.4.2", "hjson": "^3.2.2", "npm-check-updates": "^17.1.15", "standard-version": "^9.5.0" }, "scripts": { "test": "node --test ./src/lib.test.js", "coverage": "c8 pnpm test", "coverage-report": "c8 report -r=text-lcov > coverage/lcov.txt", "do-ci": "pnpm coverage && pnpm coverage-report", "lint": "eslint ./src/main.js", "generate-docs": "extract-documentation-comments -I src/lib.js -O ./API.md", "update-config": "hjson -j ci/github-actions.hjson | json2yaml -o .github/workflows/ci.yml && git change 'chore: Updated GitHub Actions.'", "update-deps": "npm-check-updates -u", "release": "standard-version", "publish-release": "git push --follow-tags origin main && pnpm publish" } }