UNPKG

rxjs-loading-state

Version:

Eliminates manual state management for loading and error states by transforming Observables into a LoadingState

56 lines (55 loc) 1.64 kB
{ "name": "rxjs-loading-state", "version": "1.1.1", "description": "Eliminates manual state management for loading and error states by transforming Observables into a LoadingState", "main": "dist/cjs/main.js", "module": "dist/esm/main.js", "exports": { ".": { "import": "./dist/esm/main.js", "require": "./dist/cjs/main.js" } }, "scripts": { "build": "rm -rf ./dist && tsc --project tsconfig.build.json && tsc --project tsconfig.build.esm.json", "create-docs-loading-state": "npm run build && npx jsdoc2md dist/loading-state-machine.js | sed -e 's/\\.\\</\\</g'", "create-docs-operator": "npm run build && npx jsdoc2md dist/track-loading-by.operator.js | sed -e 's/\\.\\</\\</g'", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/tomraithel/rxjs-loading-state.git" }, "keywords": [ "rxjs", "loading", "observables", "streams", "rx-js" ], "files": [ "/dist" ], "author": "hello@tomraithel.de", "license": "ISC", "bugs": { "url": "https://github.com/tomraithel/rxjs-loading-state/issues" }, "homepage": "https://github.com/tomraithel/rxjs-loading-state#readme", "devDependencies": { "@babel/core": "^7.18.6", "@babel/preset-env": "^7.18.6", "@babel/preset-typescript": "^7.18.6", "@tsconfig/esm": "^1.0.2", "@tsconfig/node16-strictest": "^1.0.3", "@types/jest": "^28.1.4", "babel-jest": "^28.1.2", "jest": "^28.1.2", "jsdoc-to-markdown": "^7.1.1", "rxjs": "^7.5.5", "typescript": "^4.7.4" }, "peerDependencies": { "rxjs": "^7.4.0" } }