UNPKG

newline-async-iterator

Version:

Line-by-line async iterator for the browser and node

90 lines (89 loc) 2.12 kB
{ "name": "newline-async-iterator", "version": "1.0.12", "description": "Line-by-line async iterator for the browser and node", "keywords": [ "CR", "CRLF", "LF", "asynciterator", "break", "eol", "iterate", "iterator", "line", "line-break", "line-next", "linebreak", "lines", "newline", "next", "next-line", "response-iterator", "split", "string", "symbol.asynciterator" ], "homepage": "https://github.com/kmalakoff/newline-async-iterator#README.md", "bugs": { "url": "https://github.com/kmalakoff/newline-async-iterator/issues" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/kmalakoff/newline-async-iterator.git" }, "license": "MIT", "author": { "name": "Kevin Malakoff", "email": "kmalakoff@gmail.com", "url": "https://github.com/kmalakoff" }, "type": "module", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "./package.json": "./package.json", "./umd": "./dist/umd/newline-async-iterator.cjs" }, "main": "dist/cjs/index.js", "source": "src/index.ts", "types": "dist/cjs/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsds build", "docs": "tsds docs", "format": "tsds format", "prepublishOnly": "tsds validate", "test": "tsds test:browser --config wtr.config.mjs && tsds test:node --no-timeouts", "test:browser": "tsds test:browser --config wtr.config.mjs", "test:engines": "tsds test:browser --config wtr.config.mjs && nvu engines tsds test:node --no-timeouts", "version": "tsds version" }, "devDependencies": { "@types/mocha": "*", "@types/node": "*", "@web/dev-server-import-maps": "^0.2.1", "node-version-use": "*", "pinkie-promise": "*", "ts-dev-stack": "*", "tsds-config": "*", "tsds-web-test-runner": "*" }, "engines": { "node": ">=0.8" }, "tsds": { "targets": [ "cjs", "esm", "umd" ], "globals": { "index-of-newline": "indexOfNewline" } } }