{"_id":"@21epub/use-rxjs-subject","_rev":"18-9d21fb6dd30a6442f66d1128b03932e2","name":"@21epub/use-rxjs-subject","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.1":{"name":"@21epub/use-rxjs-subject","version":"0.1.1","keywords":[],"author":{"name":"garrygu"},"license":"ISC","_id":"@21epub/use-rxjs-subject@0.1.1","maintainers":[{"name":"liqiuliepub","email":"liqiuli@21epub.com"},{"name":"dxsix","email":"zhupengcheng@21epub.com"},{"name":"zhangwei0126","email":"zhangwei@21epub.com"},{"name":"gary.guzy","email":"garrygu@21epub.com"}],"homepage":"https://github.com/21epub/use-rxjs-subject","bugs":{"url":"https://github.com/21epub/use-rxjs-subject/issues"},"dist":{"shasum":"7bc9be9bef5fb7990378c1cda5354a274938d081","tarball":"https://registry.npmjs.org/@21epub/use-rxjs-subject/-/use-rxjs-subject-0.1.1.tgz","fileCount":10,"integrity":"sha512-x1srNdiFLdIM5M5UsfC8l9RXzfgFsx4Z4Z5MGw+sXRyipRxduWouuEiZ+BYVtEGsS6MwyPd4y8f4ks6pAxpV5w==","signatures":[{"sig":"MEUCIQCPjlDaWZdWQHLM6TSBSER+bhSm8CEc162NppbVAwVsJAIgeQKdpSwcv4/c63bl2tY9aStJ/JdsToorA3MHWGQeGN0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjq09CRA9TVsSAnZWagAASxMP/j1SHPJ1XXn/WMl/j+7O\n1hrf0L6un62fFX84QpVGi5cGm7q7a9ITLs94s7r0JoFIAkrf1Rh+leI4Pg5W\nWRveOmrYLniU5v4LCnmj0oeERO/uMeUcPwP+17HnDJQ8f4FWCfpXBIRcKOD6\nfVsV9euT7snqhEr1G/uhZ5ZtvyvZL1uOq1VTJ29ayfzkM6E2XZR+xm8kuVfy\ne9SNyKdYwqEYIpIoLRjXT8LzYUFDKWlLjSloLagIbinB+dOtw8uXWQdx+Nxc\ncDHHY05Pm0ajfDbJzcsffA/bWxO+2WVfMii6j/7jE4M6b0CB5KxWN5DGf0WE\n5Cm1L+RkeLRUUKLmoxIka9wxXZ/1WBH0TgS85Gpcax/7AjREs+GSBIaaj81l\nhpGBH5kAbE4bfUXACmZ9y43eDqxBLZPiruhM6jxRrnnpPcxJxe2o4srA0AxN\nY5NBIaFg8xZLYEKtPQNrq8fM9a+ohffEf4186v+rvdQ/kALACy7f1ogFI3Hu\nySZhWag4oq8URLRzvZ+/IOX8ZyLumW/S7ct+AiCazCm3NK1uOnILYOwf5+ZP\nHa6DueymZTP9zw26MNcJOl4WhUcHF0EvFVoRw5Btg9K2UbqugWmUpL9q5sq0\nMHTG0JXeZBszTND2Ek0EGYWzlle/ggXY3Y2GdTKp6fCoi4Do4D+LgzECZ3kN\ndtH6\r\n=Sq+e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.ts","engines":{"node":">=10"},"gitHead":"cd5a94e0ee50e0df44fa1cecaebf3a665559f84f","scripts":{"test":"jest --coverage","build":"microbundle-crl --no-compress --format modern,cjs","clean":"rm dist/bundle.js","start":"parcel example/index.html --out-dir ./build","commit":"lint-staged && npx git-cz --no-verify","prepare":"run-s lint-staged:js test build","release":"git fetch --tags && npx standard-version","start-w":"microbundle-crl watch --no-compress --format modern,cjs","prettier":"prettier -c --write \"**/*\"","build-prod":"parcel build example/index.html --out-dir ./build","release:alpha":"run-s release -- --prerelease alpha","lint-staged:js":"eslint --fix --cache --ext .ts,.tsx ./src"},"_npmUser":{"name":"gary.guzy","email":"garrygu@21epub.com"},"repository":{"url":"git+https://github.com/21epub/use-rxjs-subject.git","type":"git"},"_npmVersion":"6.4.1","description":"Hooks for RxjsSubject.","directories":{},"lint-staged":{"**/*.less":"stylelint --fix --syntax less","**/*.{ts,tsx}":"npm run lint-staged:js"},"_nodeVersion":"10.15.2","dependencies":{"rxjs":"6.6.3","immer":"7.0.9","react":"16.13.1","react-dom":"^16.13.1","use-immer":"0.4.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.4.2","less":"^3.12.2","eslint":"^6.8.0","prettier":"2.1.2","stylelint":"^13.0.0","babel-jest":"26.3.0","typescript":"4.0.3","@babel/core":"7.11.6","@types/jest":"26.0.14","lint-staged":"^10.0.0","npm-run-all":"4.1.5","@types/react":"16.9.50","autoprefixer":"9.8.6","parcel-bundler":"1.12.4","microbundle-crl":"^0.13.11","postcss-modules":"3.2.2","@types/react-dom":"16.9.8","@babel/preset-env":"7.11.5","eslint-plugin-node":"^11.0.0","@babel/preset-react":"7.10.4","eslint-plugin-react":"^7.17.0","eslint-plugin-import":"^2.18.2","eslint-plugin-promise":"^4.2.1","@testing-library/react":"^9.5.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-standard":"^4.0.1","@babel/preset-typescript":"7.10.4","@testing-library/jest-dom":"^4.2.4","@typescript-eslint/parser":"4.0.1","stylelint-config-prettier":"8.0.2","stylelint-config-standard":"20.0.0","@testing-library/user-event":"^7.2.1","eslint-config-standard-react":"^9.2.0","stylelint-config-css-modules":"2.2.0","stylelint-config-rational-order":"0.1.2","@typescript-eslint/eslint-plugin":"4.0.1","stylelint-declaration-block-no-ignored-properties":"2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/use-rxjs-subject_0.1.1_1603185980900_0.9700195111159777","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@21epub/use-rxjs-subject","version":"0.1.2","keywords":[],"author":{"name":"garrygu"},"license":"MIT","_id":"@21epub/use-rxjs-subject@0.1.2","maintainers":[{"name":"liqiuliepub","email":"liqiuli@21epub.com"},{"name":"dxsix","email":"zhupengcheng@21epub.com"},{"name":"zhangwei0126","email":"zhangwei@21epub.com"},{"name":"gary.guzy","email":"garrygu@21epub.com"}],"homepage":"https://github.com/21epub/use-rxjs-subject","bugs":{"url":"https://github.com/21epub/use-rxjs-subject/issues"},"dist":{"shasum":"7b31cf84605cadc06598dde4d09ac06631845bd5","tarball":"https://registry.npmjs.org/@21epub/use-rxjs-subject/-/use-rxjs-subject-0.1.2.tgz","fileCount":10,"integrity":"sha512-XsDah56PJpjaiMJ60/1dLHJQkmYdBgv/mpmAFoLyayXGW7NTsg8t/yUpy+TAtI2DDOP/O9x1CVomK2+QtUwBgQ==","signatures":[{"sig":"MEUCIQD0AoKVfMeFeoKeeIjoVEhdkHf44kGnQQWp9JgpsG1VUgIgMlV3MmIRijZSeOHmNmxBZfh6VCFa7npdctNValaxuKk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfj901CRA9TVsSAnZWagAAercP/A4Fgx/PsWyOvkmpmqP6\nCYEvj95s6kom9mtLpsb07tztBFCppi9ZjpWIGW8+spon0Uoxx5vYcFlzv2eQ\nce9urlxmQ+InWLGnPsYb7Vqdhww8QycDHGxVk5IQ4RSbYZmojBaQuDgtg161\nPFlgw4opRVT+XqrKiVF1a60HJ3+Em9ihrx2RapsPaqEYFyVwKRHCUy5pi8m9\nlT0Rrq2oVcadkPjei22AyHzRa70O0nt/3QL62CH12BfGBhtUMk7zD1fO++jF\nTjbj18fkn9Uz7VN3RKuMS3cdOS9yIIXK10A1W1pBmvHqMT2JK76ACezE52LE\nQ3CQ+1+pSDl1eXVpZynahUalMhzkZDPBRTj7Slyqjl6Oee1w7FRrYXQnxvmP\nnm01CrjG4XZ51dJTYtfyM2FLMArgzy6o5ZhGO9J7d0niL0YNr1j0EEXqBGic\n/DEqG22uFaSzvr5X9Fq3GZZHUm7OQ9kcSn8F6H1nOinsl7oBa/UZI+EmEqdO\nfrKGgp6Adbja8z+nUmsn2+UNLIs0Uqi7DGWQjXTbyBX1KKUkpXe/ph7t1oV0\nCCL52GkCNz6dE++GEKzBTRbdEs935P2MyY4Q3XrWtvJz+uuAWebTR697iPA6\nxXWfdIssAExrsnAoZRG84IMen5d8ZLBS7Ki125dGShSy72xfNRDcpDLZByzw\np2l1\r\n=lEDS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"dist/index.modern.js","source":"src/index.ts","engines":{"node":">=10"},"gitHead":"0e3ca23223f34a8f2d1788feba3e29ab3475dd9d","scripts":{"test":"jest --coverage","build":"microbundle-crl --no-compress --format modern,cjs","clean":"rm dist/bundle.js","start":"parcel example/index.html --out-dir ./build","commit":"lint-staged && npx git-cz --no-verify","lint:js":"eslint --fix --cache --ext .ts,.tsx ./src","prepare":"run-s lint:js lint:style lint:prettier test build","release":"git fetch --tags && npx standard-version","start-w":"microbundle-crl watch --no-compress --format modern,cjs","prettier":"prettier -c --write \"**/*\"","build-prod":"parcel build example/index.html --out-dir ./build","lint:style":"stylelint --fix \"src/**/*.less\" --syntax less","lint:prettier":"prettier --check --write \"**/*\" --end-of-line auto","release:alpha":"run-s release -- --prerelease alpha","lint-staged:js":"eslint --fix --cache --ext .ts,.tsx ./src"},"_npmUser":{"name":"gary.guzy","email":"garrygu@21epub.com"},"repository":{"url":"git+https://github.com/21epub/use-rxjs-subject.git","type":"git"},"_npmVersion":"6.4.1","description":"Hooks for RxjsSubject.","directories":{},"lint-staged":{"**/*.less":"stylelint --fix --syntax less","**/*.{ts,tsx}":"npm run lint-staged:js","**/*.{tsx,ts,less,md,json}":["prettier --write"]},"_nodeVersion":"10.15.2","dependencies":{"rxjs":"6.6.3","immer":"7.0.9","react":"16.13.1","react-dom":"^16.13.1","use-immer":"0.4.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.4.2","less":"^3.12.2","husky":"4.3.0","eslint":"^6.8.0","prettier":"2.1.2","stylelint":"^13.0.0","babel-jest":"26.3.0","typescript":"4.0.3","@babel/core":"7.11.6","@types/jest":"26.0.14","lint-staged":"^10.0.0","npm-run-all":"4.1.5","@types/react":"16.9.50","autoprefixer":"9.8.6","parcel-bundler":"1.12.4","microbundle-crl":"^0.13.11","postcss-modules":"3.2.2","@types/react-dom":"16.9.8","@babel/preset-env":"7.11.5","eslint-plugin-node":"^11.0.0","@babel/preset-react":"7.10.4","eslint-plugin-react":"^7.17.0","eslint-plugin-import":"^2.18.2","eslint-plugin-promise":"^4.2.1","@testing-library/react":"^9.5.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-standard":"^4.0.1","@babel/preset-typescript":"7.10.4","@testing-library/jest-dom":"^4.2.4","@typescript-eslint/parser":"4.0.1","stylelint-config-prettier":"8.0.2","stylelint-config-standard":"20.0.0","@testing-library/user-event":"^7.2.1","eslint-config-standard-react":"^9.2.0","stylelint-config-css-modules":"2.2.0","stylelint-config-rational-order":"0.1.2","@typescript-eslint/eslint-plugin":"4.0.1","stylelint-declaration-block-no-ignored-properties":"2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/use-rxjs-subject_0.1.2_1603263796917_0.2636098524279684","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@21epub/use-rxjs-subject","version":"0.1.3","keywords":[],"author":{"name":"garrygu"},"license":"MIT","_id":"@21epub/use-rxjs-subject@0.1.3","maintainers":[{"name":"liqiuliepub","email":"liqiuli@21epub.com"},{"name":"dxsix","email":"zhupengcheng@21epub.com"},{"name":"zhangwei0126","email":"zhangwei@21epub.com"},{"name":"gary.guzy","email":"garrygu@21epub.com"}],"homepage":"https://github.com/21epub/use-rxjs-subject","bugs":{"url":"https://github.com/21epub/use-rxjs-subject/issues"},"dist":{"shasum":"a49aec0755121db9bdc07b25e34d1d892ce18366","tarball":"https://registry.npmjs.org/@21epub/use-rxjs-subject/-/use-rxjs-subject-0.1.3.tgz","fileCount":10,"integrity":"sha512-xy2+OvJRdkbLX5IQOx9a3mOMopa6opD1feu3KQOqUX9gvSrjrygJzX5t3gF0cghoodVsLqFcOKiNB23APAw3yA==","signatures":[{"sig":"MEUCIQDYk7+quE2WwqPiTN5WleQ6J2kmeop6e7d1fcrGnkNUIQIgbKBfUPeiHphBVTEvwtzp/seJjnaHd20rkcCVswodghQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkFIaCRA9TVsSAnZWagAA3BIP+QFXkKX6UX0TROD0ZQlA\nFHrF+raZM6WlRzTVhlieP2tNVIhIa/0kZuhyo1+vxH00XXVOax4tnVE7XpOS\nGUkboqv+Lv9VaAOb//pDOeZltk/aNw/kEa2moyaRZJ+MtJW7BpxThPPeBz96\nzyuh24LApyFYLjfbjrdGBPPYaa5B28blfMfv7IuikL43WJJE4FKuyCQ0zyOd\nIfRVwK/BZPrMcYq6Bt+5/ZcGLauNXrk7k0R9ZUa5VcwpQmE/JtiE5s5ipeYF\nDlbj5s7di63jJfyCvZnbLW7yZG+rXY/Tuo7DalE/4AEFuvfUY9KHCO9ovLQQ\n2vHYQ4pkkP0HsuGzZjuAlMZRA92uN2sHWMKe2LFrn+Yy88TBUEi+iH95PZ4k\ng3fIrhDO7KbbICw/wRjw9jqHB6cDyZRXITWtqmVHLcEBiVpWqA1LZnMqAPRm\n0HoWkYKVpkMM7endcdsb8BOD3AAZX1bAK64b5DWakt8OJDxmSJcPl+3qRGvb\nXJNHyJ7lgp5JHuh58BWzn5AMZa9rxw+pVy6fA1eGgwk1i3XGlkE9ksSO2gPN\nBK1V93vegsQXq9GUTehzLz+LHv+INGN7Lzio8UqNx3uYHJ0GlQWMQYhTnAiG\nJr1G9cuxVFZEthUwFFG08wnVgVBRAVakoyBbBd5fiv1+GVP/RF09mbBq2RFf\nGL35\r\n=jOJl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged","pre-publish":"run-s lint:js lint:style lint:prettier test build"}},"module":"dist/index.modern.js","source":"src/index.ts","engines":{"node":">=10"},"gitHead":"ba627147ed0750e5a2c7284858206cc200dfafc8","scripts":{"test":"jest --coverage","build":"microbundle-crl --no-compress --format modern,cjs","clean":"rm dist/bundle.js","start":"parcel example/index.html --out-dir ./build","commit":"lint-staged && npx git-cz --no-verify","lint:js":"eslint --fix --cache --ext .ts,.tsx ./src","release":"git fetch --tags && npx standard-version","start-w":"microbundle-crl watch --no-compress --format modern,cjs","prettier":"prettier -c --write \"**/*\"","build-prod":"parcel build example/index.html --out-dir ./build","lint:style":"stylelint --fix \"src/**/*.less\" --syntax less","postinstall":"install-peers","lint:prettier":"prettier --check --write \"**/*\" --end-of-line auto","release:alpha":"run-s release -- --prerelease alpha","lint-staged:js":"eslint --fix --cache --ext .ts,.tsx ./src"},"_npmUser":{"name":"gary.guzy","email":"garrygu@21epub.com"},"repository":{"url":"git+https://github.com/21epub/use-rxjs-subject.git","type":"git"},"_npmVersion":"6.4.1","description":"Hooks for RxjsSubject.","directories":{},"lint-staged":{"**/*.less":"stylelint --fix --syntax less","**/*.{ts,tsx}":"npm run lint-staged:js","**/*.{tsx,ts,less,md,json}":["prettier --write"]},"_nodeVersion":"10.15.2","dependencies":{"rxjs":"6.6.3","immer":"7.0.9","react-dom":"^16.8.0","use-immer":"0.4.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.4.2","less":"^3.12.2","husky":"4.3.0","eslint":"^6.8.0","prettier":"2.1.2","stylelint":"^13.0.0","babel-jest":"26.3.0","typescript":"4.0.3","@babel/core":"7.11.6","@types/jest":"26.0.14","lint-staged":"^10.0.0","npm-run-all":"4.1.5","@types/react":"16.9.50","autoprefixer":"9.8.6","parcel-bundler":"1.12.4","microbundle-crl":"^0.13.11","postcss-modules":"3.2.2","@types/react-dom":"16.9.8","@babel/preset-env":"7.11.5","install-peers-cli":"2.2.0","eslint-plugin-node":"^11.0.0","@babel/preset-react":"7.10.4","eslint-plugin-react":"^7.17.0","eslint-plugin-import":"^2.18.2","eslint-plugin-promise":"^4.2.1","@testing-library/react":"^9.5.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-standard":"^4.0.1","@babel/preset-typescript":"7.10.4","@testing-library/jest-dom":"^4.2.4","@typescript-eslint/parser":"4.0.1","stylelint-config-prettier":"8.0.2","stylelint-config-standard":"20.0.0","@testing-library/user-event":"^7.2.1","eslint-config-standard-react":"^9.2.0","stylelint-config-css-modules":"2.2.0","stylelint-config-rational-order":"0.1.2","@typescript-eslint/eslint-plugin":"4.0.1","stylelint-declaration-block-no-ignored-properties":"2.3.0"},"peerDependencies":{"react":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-rxjs-subject_0.1.3_1603293721816_0.16986788057687474","host":"s3://npm-registry-packages"}},"0.1.4-alpha.0":{"name":"@21epub/use-rxjs-subject","version":"0.1.4-alpha.0","keywords":[],"author":{"name":"garrygu"},"license":"MIT","_id":"@21epub/use-rxjs-subject@0.1.4-alpha.0","maintainers":[{"name":"liqiuliepub","email":"liqiuli@21epub.com"},{"name":"dxsix","email":"zhupengcheng@21epub.com"},{"name":"zhangwei0126","email":"zhangwei@21epub.com"},{"name":"gary.guzy","email":"garrygu@21epub.com"}],"homepage":"https://github.com/21epub/use-rxjs-subject","bugs":{"url":"https://github.com/21epub/use-rxjs-subject/issues"},"dist":{"shasum":"56cddf31195d128fceb2f841613673f4247e5b76","tarball":"https://registry.npmjs.org/@21epub/use-rxjs-subject/-/use-rxjs-subject-0.1.4-alpha.0.tgz","fileCount":10,"integrity":"sha512-8KN/bMKAzMk7tFKTrV08ltCGSqc79LQY1k1Zn26ooBgcShFMchTbi3hOPyL/KQXabBqinyrns9Lq3zKsiC1+DA==","signatures":[{"sig":"MEUCIBhvQY1FETqsG5XUh92HWUtEShhCiqyunUrZV+T4NNFIAiEA5BZm5xZBw9e5YF8L1Tt5FEC0GZ0FkNg8gfWxkeFdpgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkFaSCRA9TVsSAnZWagAA+AkP/1GKth7h59721dWko785\nYca5rKBBdVz5wI4uCPh7VfZ0LOoDlM6Pmu9g9F86WjeCzjvXD58DxYs5pLek\ngIEMlhLuzFl7gOxaM375fY+1LxcmRsc/hccOqSMwk2WyhsX784FejpNEq7FR\n1lc69BZi3z0JrR+UdAYYObQdxK6Cec2oaTUD7oegelncUV2AY9vcHP97IYk4\nM59wSoDr+Ow4mCS/P+/K52PUXb3pDQGC4GDLcysVNeWltHUc+eex0va8CUMZ\nWgIL0n0B/RUZuIHj2eIxOvMz5LNmF07oW3JN61+xxKHywAaH6D8mzSwWAAuV\n8mF7So4+uiR0Ml2NNSl/iNDmP9FYRB4EdSbXE5bo2oPq8nhEyS9D/p2mvPkG\nbXUvTiVfWmNDUtbLVkh3hODFfM9GiasgxAOqSAX0L7iMIJfynMrW9yMRqEFt\nPy9+LZtqvyNzTWbhQTAGgMv8NeGMxC7vVjDgGKe7zBz2MRS+1W5Hxvqkk9Pu\naUls9UrMjJ6g6WkQLSMJpeqFpfRJPtTWfuDBmXFnCeyiCoXrsMvSNtLCDrUS\nvN2hicpbDeshA/3/ZiZsJnwGiVgoEALjnRu8ltkj82y/kRiNp/muLaH17kWr\neXiYcHlQHZQkSoQD+TDO6BpPR9whTfNrRnLDNhXYwHFe5dWr8PBzzeYVm1Nr\nuq5P\r\n=66rs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"dist/index.modern.js","source":"src/index.ts","engines":{"node":">=10"},"gitHead":"8b6bc94c37cba701fcc0a44141079c64fcfd6b8f","scripts":{"test":"jest --coverage","build":"microbundle-crl --no-compress --format modern,cjs","clean":"rm dist/bundle.js","start":"parcel example/index.html --out-dir ./build","commit":"lint-staged && npx git-cz --no-verify","lint:js":"eslint --fix --cache --ext .ts,.tsx ./src","release":"git fetch --tags && npx standard-version","start-w":"microbundle-crl watch --no-compress --format modern,cjs","prettier":"prettier -c --write \"**/*\"","build-prod":"parcel build example/index.html --out-dir ./build","lint:style":"stylelint --fix \"src/**/*.less\" --syntax less","prepublish":"run-s lint:js lint:style lint:prettier test build","lint:prettier":"prettier --check --write \"**/*\" --end-of-line auto","release:alpha":"npm run release -- --prerelease alpha","lint-staged:js":"eslint --fix --cache --ext .ts,.tsx ./src"},"_npmUser":{"name":"gary.guzy","email":"garrygu@21epub.com"},"repository":{"url":"git+https://github.com/21epub/use-rxjs-subject.git","type":"git"},"_npmVersion":"6.4.1","description":"Hooks for RxjsSubject.","directories":{},"lint-staged":{"**/*.less":"stylelint --fix --syntax less","**/*.{ts,tsx}":"npm run lint-staged:js","**/*.{tsx,ts,less,md,json}":["prettier --write"]},"_nodeVersion":"10.15.2","dependencies":{"rxjs":"6.6.3","immer":"7.0.9","react-dom":"^16.8.0","use-immer":"0.4.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.4.2","less":"^3.12.2","husky":"4.3.0","eslint":"^6.8.0","prettier":"2.1.2","stylelint":"^13.0.0","babel-jest":"26.3.0","typescript":"4.0.3","@babel/core":"7.11.6","@types/jest":"26.0.14","lint-staged":"^10.0.0","npm-run-all":"4.1.5","@types/react":"16.9.50","autoprefixer":"9.8.6","parcel-bundler":"1.12.4","microbundle-crl":"^0.13.11","postcss-modules":"3.2.2","@types/react-dom":"16.9.8","@babel/preset-env":"7.11.5","install-peers-cli":"2.2.0","eslint-plugin-node":"^11.0.0","@babel/preset-react":"7.10.4","eslint-plugin-react":"^7.17.0","eslint-plugin-import":"^2.18.2","eslint-plugin-promise":"^4.2.1","@testing-library/react":"^9.5.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-standard":"^4.0.1","@babel/preset-typescript":"7.10.4","@testing-library/jest-dom":"^4.2.4","@typescript-eslint/parser":"4.0.1","stylelint-config-prettier":"8.0.2","stylelint-config-standard":"20.0.0","@testing-library/user-event":"^7.2.1","eslint-config-standard-react":"^9.2.0","stylelint-config-css-modules":"2.2.0","stylelint-config-rational-order":"0.1.2","@typescript-eslint/eslint-plugin":"4.0.1","stylelint-declaration-block-no-ignored-properties":"2.3.0"},"peerDependencies":{"react":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-rxjs-subject_0.1.4-alpha.0_1603294865771_0.8422098582067183","host":"s3://npm-registry-packages"}},"0.1.4-alpha.1":{"name":"@21epub/use-rxjs-subject","version":"0.1.4-alpha.1","keywords":[],"author":{"name":"garrygu"},"license":"MIT","_id":"@21epub/use-rxjs-subject@0.1.4-alpha.1","maintainers":[{"name":"liqiuliepub","email":"liqiuli@21epub.com"},{"name":"dxsix","email":"zhupengcheng@21epub.com"},{"name":"zhangwei0126","email":"zhangwei@21epub.com"},{"name":"gary.guzy","email":"garrygu@21epub.com"}],"homepage":"https://github.com/21epub/use-rxjs-subject","bugs":{"url":"https://github.com/21epub/use-rxjs-subject/issues"},"dist":{"shasum":"3da6b9dc5320868ebda01061e0c2874e4c44bf7c","tarball":"https://registry.npmjs.org/@21epub/use-rxjs-subject/-/use-rxjs-subject-0.1.4-alpha.1.tgz","fileCount":10,"integrity":"sha512-cfEYue64sJiR5lZo4EqAZoIihJre+Sc0pX1Eec/fEP/lCsFw23IwzEOTx5ym7P5vXZGHXcjjRjwHwFpjOMEKGg==","signatures":[{"sig":"MEQCIHQ1qPkqIS8vwGLnzN3d9wGvQBKVRDclorJjd/eiPD7vAiA6RI85R1BYzJfWoWUcqg1YR93AuvU7DiB5D67SlZEaQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkOuqCRA9TVsSAnZWagAAAisQAKHdH5WxfqEC2eXE80ow\nDSPgGVAyRSWiqIp9Ro/h+VIJHsYTN3SpKgGZtc8ntVSfq2FqjkeP8CbfIq2h\nfDhZe2Yvpy30ruY/XSoZcHb0SV17SKcC/lOv0YCsqgFNBw0KSnn1QWeKVER8\nLhaV7hvh1GExhX+jhBCMG4KmIjn5VJJ10V7eQa1QK84HlCf3U84nYFyn+TA4\nS2pkqp7EndeMMjc8LbTwPPdT0Xt5K6mGZbQLN5dU1wGgjNaM6CyKJhjCITSU\nYffBeFdPSTET3R62L2ze5iQlsELxlpZTU/KLxNn+NEYKet8oG2H+n0HsOCyR\nKiNzdsz7JUOn52AK6v7whd2eOMbDQTRYeS9KUZpMiMCftYUc9hlDgRSTp15M\nuY+M/XPc4QQj5jrp00cMhvBjCoMHrQJokun7MyYmNn5HcFv6SiAebKS4ppqC\nXmDS6uiI5bpnQKwc20g4UOu1WKfsPQozf992fbKOF4WG4T8QnYovxtzLJHCs\nCJmWpo0FwdXP8UW1Q9/Ox6KIZlmOw7cgID40DO6lQKPMF/6sikaH+z8eDZ8m\nkCh0/1ITZvre/URRnEb2yBqw5OPpDyLlpb6UliMGrPvtqFyg3+LMjsfrKg1E\nS8UbnpRFosirTs8OVb5NUW++BJS6rAKYVmCl1NPcYnhcukiKuuM1f6MDBTPq\n7Rm7\r\n=U06J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"dist/index.modern.js","source":"src/index.ts","engines":{"node":">=10"},"gitHead":"b3bfb00f958eda0ced04b6ce19131aa9914e1f4d","scripts":{"test":"jest --coverage","build":"microbundle-crl --no-compress --format modern,cjs","clean":"rm dist/bundle.js","start":"parcel example/index.html --out-dir ./build","commit":"lint-staged && npx git-cz --no-verify","lint:js":"eslint --fix --cache --ext .ts,.tsx ./src","release":"git fetch --tags && npx standard-version","start-w":"microbundle-crl watch --no-compress --format modern,cjs","prettier":"prettier -c --write \"**/*\"","build-prod":"parcel build example/index.html --out-dir ./build","lint:style":"stylelint --fix \"src/**/*.less\" --syntax less","prepublish":"run-s lint:js lint:style lint:prettier test build","install-peers":"npm-install-peers","lint:prettier":"prettier --check --write \"**/*\" --end-of-line auto","release:alpha":"npm run release -- --prerelease alpha","lint-staged:js":"eslint --fix --cache --ext .ts,.tsx ./src"},"_npmUser":{"name":"gary.guzy","email":"garrygu@21epub.com"},"repository":{"url":"git+https://github.com/21epub/use-rxjs-subject.git","type":"git"},"_npmVersion":"6.4.1","description":"Hooks for RxjsSubject.","directories":{},"lint-staged":{"**/*.less":"stylelint --fix --syntax less","**/*.{ts,tsx}":"npm run lint-staged:js","**/*.{tsx,ts,less,md,json}":["prettier --write"]},"_nodeVersion":"10.15.2","dependencies":{"rxjs":"6.6.3","immer":"7.0.9","react-dom":"^16.8.0","use-immer":"0.4.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.4.2","less":"^3.12.2","husky":"4.3.0","eslint":"^6.8.0","prettier":"2.1.2","stylelint":"^13.0.0","babel-jest":"26.3.0","typescript":"4.0.3","@babel/core":"7.11.6","@types/jest":"26.0.14","lint-staged":"^10.0.0","npm-run-all":"4.1.5","@types/react":"16.9.50","autoprefixer":"9.8.6","parcel-bundler":"1.12.4","microbundle-crl":"^0.13.11","postcss-modules":"3.2.2","@types/react-dom":"16.9.8","@babel/preset-env":"7.11.5","npm-install-peers":"1.2.1","eslint-plugin-node":"^11.0.0","@babel/preset-react":"7.10.4","eslint-plugin-react":"^7.17.0","eslint-plugin-import":"^2.18.2","eslint-plugin-promise":"^4.2.1","@testing-library/react":"^9.5.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-standard":"^4.0.1","@babel/preset-typescript":"7.10.4","@testing-library/jest-dom":"^4.2.4","@typescript-eslint/parser":"4.0.1","stylelint-config-prettier":"8.0.2","stylelint-config-standard":"20.0.0","@testing-library/user-event":"^7.2.1","eslint-config-standard-react":"^9.2.0","stylelint-config-css-modules":"2.2.0","stylelint-config-rational-order":"0.1.2","@typescript-eslint/eslint-plugin":"4.0.1","stylelint-declaration-block-no-ignored-properties":"2.3.0"},"peerDependencies":{"react":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-rxjs-subject_0.1.4-alpha.1_1603333034283_0.5003888795889497","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@21epub/use-rxjs-subject","version":"0.1.4","keywords":[],"author":{"name":"garrygu"},"license":"MIT","_id":"@21epub/use-rxjs-subject@0.1.4","maintainers":[{"name":"liqiuliepub","email":"liqiuli@21epub.com"},{"name":"dxsix","email":"zhupengcheng@21epub.com"},{"name":"zhangwei0126","email":"zhangwei@21epub.com"},{"name":"gary.guzy","email":"garrygu@21epub.com"}],"homepage":"https://github.com/21epub/use-rxjs-subject","bugs":{"url":"https://github.com/21epub/use-rxjs-subject/issues"},"dist":{"shasum":"bfadee39588cb4178b8c5dbd698ecb4ba228d23d","tarball":"https://registry.npmjs.org/@21epub/use-rxjs-subject/-/use-rxjs-subject-0.1.4.tgz","fileCount":10,"integrity":"sha512-/X4jiO/nloJtsJJIRopUINXRikpBoNxfEJFakOtWs2K6NICdVLKFN778T9WmzvAQEE9T/w6yFPJ82eL6IDncdg==","signatures":[{"sig":"MEUCIQC2R0bnA7PgOE4OehhmiqWu165Zengeg7YmxvAMChmv0gIgC+2KccyvDImW9Bu+6UOo2cK7/MdUDo9XPkLBnUPyrE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkPE5CRA9TVsSAnZWagAA3WAP/iKV1MvCw5j4F+8uylr5\nRJYEq40QvgC8BNDPckJnIDuC++kopfzcgeMBerNe5GScHyW3TNLr7vNlsM/d\nqdM6ovsL7r/BC9tVhldwIcRcibrWfd8NZJ1wvNpbhwFcNwlB59JNHiV3liWF\n/Acs9NkmX5f9UHWlr4Ugwal017DlU6169WvCZ+tYX42suAQDRIO058QHl0Gp\nl+thxUSGtQOoM1z7TaJLNC7rkCXCdO+zXrz3PdqgRXbQ7jJ2aBkkkeJZNefI\n6+Ra0PVDSr/8YdOKTjFhve6x9tSXE7uyrx7sJboInAC251dF/OdjNAFUimLE\nae5/VIND5zPg7MF9786f9saqDq6bZWVK1TMNfM0bDFQiF0jQeG14ZsEzBHkC\naTwKN1XviBg9QD3+cAlK/LU1XIxEcJ0c2LBtg3BzeX8G6Z30SiRk3T6knDEI\npzGDf+wGTTxT5IXn/SPJqu/DCUxOTCPW+zJp6uOJi/F8ih+co7cdONctPqqk\nKUrPwg5yNR+ojWKY1msNRlYn/TFCk2BJeYTHhDv1vVfqLD1CGLYpK6iJMS2Y\nYOMzDqic4LPcmofnny+c76HpMpVhUD4ZU4zp15KvRJMgstgNbdDxxKYg8DaZ\nVOzJ0I4t4kkzfRY/hTw3Ibw3eAp8yWZ+q6yOlCF0ySGLza3/VQ7dRqSrus0L\n9DSk\r\n=SSb7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"dist/index.modern.js","source":"src/index.ts","engines":{"node":">=10"},"gitHead":"738a8f75449460c940fc731f6f846dc69c28b227","scripts":{"test":"jest --coverage","build":"microbundle-crl --no-compress --format modern,cjs","clean":"rm dist/bundle.js","start":"parcel example/index.html --out-dir ./build","commit":"lint-staged && npx git-cz --no-verify","lint:js":"eslint --fix --cache --ext .ts,.tsx ./src","release":"git fetch --tags && npx standard-version","start-w":"microbundle-crl watch --no-compress --format modern,cjs","prettier":"prettier -c --write \"**/*\"","build-prod":"parcel build example/index.html --out-dir ./build","lint:style":"stylelint --fix \"src/**/*.less\" --syntax less","prepublish":"run-s lint:js lint:style lint:prettier test build","install-peers":"npm-install-peers","lint:prettier":"prettier --check --write \"**/*\" --end-of-line auto","release:alpha":"npm run release -- --prerelease alpha","lint-staged:js":"eslint --fix --cache --ext .ts,.tsx ./src"},"_npmUser":{"name":"gary.guzy","email":"garrygu@21epub.com"},"repository":{"url":"git+https://github.com/21epub/use-rxjs-subject.git","type":"git"},"_npmVersion":"6.4.1","description":"Hooks for RxjsSubject.","directories":{},"lint-staged":{"**/*.less":"stylelint --fix --syntax less","**/*.{ts,tsx}":"npm run lint-staged:js","**/*.{tsx,ts,less,md,json}":["prettier --write"]},"_nodeVersion":"10.15.2","dependencies":{"rxjs":"6.6.3","immer":"7.0.9","react-dom":"^16.8.0","use-immer":"0.4.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.4.2","less":"^3.12.2","husky":"4.3.0","eslint":"^6.8.0","prettier":"2.1.2","stylelint":"^13.0.0","babel-jest":"26.3.0","typescript":"4.0.3","@babel/core":"7.11.6","@types/jest":"26.0.14","lint-staged":"^10.0.0","npm-run-all":"4.1.5","@types/react":"16.9.50","autoprefixer":"9.8.6","parcel-bundler":"1.12.4","microbundle-crl":"^0.13.11","postcss-modules":"3.2.2","@types/react-dom":"16.9.8","@babel/preset-env":"7.11.5","npm-install-peers":"1.2.1","eslint-plugin-node":"^11.0.0","@babel/preset-react":"7.10.4","eslint-plugin-react":"^7.17.0","eslint-plugin-import":"^2.18.2","eslint-plugin-promise":"^4.2.1","@testing-library/react":"^9.5.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-standard":"^4.0.1","@babel/preset-typescript":"7.10.4","@testing-library/jest-dom":"^4.2.4","@typescript-eslint/parser":"4.0.1","stylelint-config-prettier":"8.0.2","stylelint-config-standard":"20.0.0","@testing-library/user-event":"^7.2.1","eslint-config-standard-react":"^9.2.0","stylelint-config-css-modules":"2.2.0","stylelint-config-rational-order":"0.1.2","@typescript-eslint/eslint-plugin":"4.0.1","stylelint-declaration-block-no-ignored-properties":"2.3.0"},"peerDependencies":{"react":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-rxjs-subject_0.1.4_1603334457445_0.8498457793731158","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-10-20T09:26:20.701Z","modified":"2025-09-13T17:14:14.602Z","0.1.1":"2020-10-20T09:26:21.025Z","0.1.2":"2020-10-21T07:03:17.048Z","0.1.3":"2020-10-21T15:22:02.025Z","0.1.4-alpha.0":"2020-10-21T15:41:05.905Z","0.1.4-alpha.1":"2020-10-22T02:17:14.429Z","0.1.4":"2020-10-22T02:40:57.554Z"},"bugs":{"url":"https://github.com/21epub/use-rxjs-subject/issues"},"author":{"name":"garrygu"},"license":"MIT","homepage":"https://github.com/21epub/use-rxjs-subject","keywords":[],"repository":{"url":"git+https://github.com/21epub/use-rxjs-subject.git","type":"git"},"description":"Hooks for RxjsSubject.","maintainers":[{"email":"garrygu@21epub.com","name":"gary.guzy"},{"email":"zhangwei@21epub.com","name":"zhangwei0126"},{"email":"1071667708@qq.com","name":"dxsix"},{"email":"wagon1104@163.com","name":"wagon1104"},{"email":"1792900546@qq.com","name":"csj117"}],"readme":"# @21epub/use-rxjs-subject\n\n> Rxjs Subject with React Hooks\n\n[![NPM](https://img.shields.io/npm/v/@21epub/use-rxjs-subject.svg)](https://www.npmjs.com/package/@21epub/use-rxjs-subject) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![Build Status](https://travis-ci.com/21epub/use-rxjs-subject.svg?branch=master)](https://travis-ci.com/21epub/use-rxjs-subject) ![Codecov](https://img.shields.io/codecov/c/github/21epub/use-rxjs-subject)\n\n## Install\n\n```bash\nnpm install --save @21epub/use-rxjs-subject\n```\n\n## Usage\n\n```tsx\nimport React, { Component } from 'react'\n\nimport useRxjsSubject from '@21epub/use-rxjs-subject'\n\nconst Subject$ = new BehaviorSubject(0)\n\nconst TestFn1: React.FC = () => {\n  const [state] = useRxjsSubject(Subject$)\n  return <div>{state}</div>\n}\n\nconst TestFn2: React.FC = () => {\n  const [state] = useRxjsSubject(Subject$)\n  return <div>{state}</div>\n}\n\nconst App: React.FC = () => {\n  return (\n    <>\n      <TestFn1 />\n      <TestFn2 />\n    </>\n  )\n}\n```\n\nFor Details: See Example\n\n## Building and running on localhost\n\nFirst install dependencies and then install peerDeps for parcel dev:\n\n```sh\nnpm install\nnpm run install-peers\n```\n\nTo run Example in hot module reloading mode:\n\n```sh\nnpm start\n```\n\nTo create a production build:\n\n```sh\nnpm run build-prod\n```\n\nTo create a bundle module build:\n\n```sh\nnpm run build\n```\n\n## Running\n\nOpen the file `dist/index.html` in your browser\n\n## Testing\n\nTo run unit tests:\n\n```sh\nnpm test\n```\n\n## License\n\nMIT © [garry](https://github.com/garry)\n","readmeFilename":"README.md"}