reactive-channel
Version:
A simple yet powerful abstraction that enables communication between asynchronous tasks.
82 lines (81 loc) • 2.27 kB
JSON
{
"name": "reactive-channel",
"camelCaseName": "reactiveChannel",
"description": "A simple yet powerful abstraction that enables communication between asynchronous tasks.",
"version": "3.1.2",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.es.js",
"author": "Carlo Dell'Acqua",
"license": "MIT",
"keywords": [
"interprocess",
"mpsc",
"async",
"channel",
"queue",
"message"
],
"repository": {
"url": "git+https://github.com/cdellacqua/channel.js"
},
"bugs": {
"url": "https://github.com/cdellacqua/channel.js/issues"
},
"homepage": "https://github.com/cdellacqua/channel.js",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"scripts": {
"coverage": "c8 npm run test",
"test": "cross-env NODE_ENV=test mocha 'tests/**/*.ts'",
"dev:browser": "vite",
"dev:node": "nodemon",
"build": "vite build && tsc --project ./tsconfig.declarations.json",
"doc": "rimraf docs && typedoc --gitRevision main --readme none --plugin typedoc-plugin-markdown src/lib/index.ts",
"prepack": "npm run lint && npm run build && npm test && npm run doc",
"lint": "eslint --max-warnings 0 .",
"lint:fix": "eslint --fix .",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"setup": "node --unhandled-rejections=strict setup.js"
},
"devDependencies": {
"@types/chai": "^4.2.22",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.10",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.51.0",
"c8": "^7.11.3",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^9.1.3",
"nodemon": "^2.0.15",
"prettier": "^2.5.0",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typedoc": "^0.23.24",
"typedoc-plugin-markdown": "^3.14.0",
"typescript": "^4.9.5",
"vite": "^2.6.4"
},
"dependencies": {
"@cdellacqua/sleep": "^6.0.1",
"reactive-circular-queue": "^2.1.2",
"universal-stores": "^2.3.2"
}
}