{"name":"wonka","description":"A tiny but capable push & pull stream library for TypeScript and Flow","version":"6.2.4","author":{"name":"0no.co","email":"hi@0no.co"},"source":"./src/index.ts","main":"./dist/wonka","module":"./dist/wonka.mjs","types":"./dist/wonka.d.ts","exports":{".":{"import":"./dist/wonka.mjs","require":"./dist/wonka.js","types":"./dist/wonka.d.ts","source":"./src/index.ts"},"./package.json":"./package.json"},"sideEffects":false,"keywords":["wonka","typescript","events","callbag","callback","observable","iterable","stream"],"repository":{"type":"git","url":"git+https://github.com/0no-co/wonka.git"},"bugs":{"url":"https://github.com/0no-co/wonka/issues"},"license":"MIT","prettier":{"singleQuote":true,"tabWidth":2,"printWidth":100},"lint-staged":{"*.{ts,js}":"eslint -c scripts/eslint-preset.js --fix","*.json":"prettier --write","*.md":"prettier --write"},"husky":{"hooks":{"pre-commit":"lint-staged --quiet --relative"}},"eslintConfig":{"root":true,"extends":["./scripts/eslint-preset.js"]},"devDependencies":{"@changesets/cli":"^2.26.0","@changesets/get-github-info":"0.5.0","@rollup/plugin-buble":"^1.0.1","@rollup/plugin-commonjs":"^23.0.3","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.1.0","@rollup/plugin-typescript":"^10.0.1","@rollup/pluginutils":"^5.0.2","@types/zen-observable":"^0.8.3","@typescript-eslint/eslint-plugin":"^5.45.0","@typescript-eslint/parser":"^5.45.0","callbag-from-iter":"^1.3.0","callbag-iterate":"^1.0.0","callbag-take":"^1.5.0","dotenv":"^16.0.3","eslint":"^8.29.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-tsdoc":"^0.2.17","flowgen":"^1.21.0","glob":"^8.0.3","husky-v4":"^4.3.8","lint-staged":"^13.0.4","npm-run-all":"^4.1.5","prettier":"^2.8.0","rimraf":"^3.0.2","rollup":"^3.5.1","rollup-plugin-cjs-check":"^1.0.1","rollup-plugin-dts":"^5.1.1","tslib":"^2.4.1","typescript":"^4.9.5","vitest":"^0.25.3","zen-observable":"^0.10.0"},"scripts":{"test":"vitest run","check":"tsc","lint":"eslint --ext=js,ts .","build":"rollup -c scripts/rollup.config.mjs","clean":"rimraf dist node_modules/.cache","changeset:version":"changeset version && pnpm install --lockfile-only","changeset:publish":"changeset publish"},"homepage":"https://github.com/0no-co/wonka#readme","_id":"wonka@6.2.4","_integrity":"sha512-+q0VMDFqLzu+NAOdhmebQb46Fprip1zV1I/AhKYG4MAtru03R5L6MU89XQK59YDiPL7ELDZEEgZTGtCJ0BWL6g==","_resolved":"/tmp/32c34df99ae5a82c45bba1b1d4c86a66/wonka-6.2.4.tgz","_from":"file:wonka-6.2.4.tgz","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"integrity":"sha512-+q0VMDFqLzu+NAOdhmebQb46Fprip1zV1I/AhKYG4MAtru03R5L6MU89XQK59YDiPL7ELDZEEgZTGtCJ0BWL6g==","shasum":"e37c601a84efffe97a36b34455c8383b82c5e9f1","tarball":"http://registry-npm.ywwl.com/wonka/download/wonka-6.2.4.tgz","fileCount":29,"unpackedSize":338580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFo53XjaU7uyeVhpoHBMd7LA8O5pS1FMheGaFKuNEiQfAiEAlDzl6DIs3MB5NcxCqH4E26LEQDKtHPI4d4KATmPR+Iw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC86mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVcxAAnweZ4EuKg+StD83PSeen0AJ0OqoQshiAoITJewiv4tkZKnfW\r\ndHcnNRCCR2Xtj3B2SKrmkMBT6MqEgsIvLiy7EIErdS50jlgakdGboo0+aZcI\r\n8uXesx+kSUDyZLdRWy6mvYv46LzdjS3yxnqIsbgmdZQYHY1VS7aQAaXaXKJW\r\ncj6JyS0x9oXKh7gX/W44W70iY1W/PRoYMQGZ4a5YqvbmP8+xXL+NX9FdvsAW\r\nBmowiUuQHz/cTMW6x2UksXSH6ia6Yr4Ce1IEOuFOYYZuY1rF7H0zON8QdAEp\r\nOZMtCXNNNrAzKQmgm2lEI7NompsUQSygQhDoa1MobWd8L+TvhHIYFRpuimMO\r\nuJZwW3mNoExdZZ+kWDy3sic40MfuoKepAdBfrgvLM1bmwHFZQgoRTV7ZZvrX\r\n4zJn4R+iN0Sj55iRon7LMTsFyoYTRvu78fJ1GAEvg1bSnZjiJ61ouxzU5Jow\r\nWZKvwFC0FKDzpalvoI5D2Pxpla5yfWP1gFe86mkZQzWJvMkKIO8CL/YrRtC+\r\nVYITU0NJior0sXpQFxiH+aIDlctpeyNIP2JMRoCXFwsbAJn4DuDXO2QLGPVG\r\nrT798Nye5ro1+QIWEAqw9Mt7iBV9QnwYrCUCFAlCGjz5dYFJdwo1++bwDVZI\r\nnGVEtxICLWhhA0Pk+M6svj2plQhk5dKSPMM=\r\n=9GWJ\r\n-----END PGP SIGNATURE-----\r\n","size":63120,"noattachment":false,"key":"/wonka/-/wonka-6.2.4.tgz"},"_npmUser":{"name":"philpl","email":"phil@kitten.sh"},"directories":{},"maintainers":[{"name":"philpl","email":"phil@kitten.sh"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wonka_6.2.4_1678495397921_0.8227083048084092"},"_hasShrinkwrap":false,"readme":"# Wonka\n\nA tiny but capable push & pull stream library for TypeScript and Flow,\nloosely following the [callbag spec](https://github.com/callbag/callbag)\n\n> **NOTE:** The currently released version v6 is only compatible now with TypeScript, Flow, and JavaScript.\n> If you're looking for Reason/OCaml/esy/dune support, please check v5, and if you're looking for the legacy version\n> of this library check v4.\n\n<br>\n<a href=\"https://npmjs.com/package/wonka\">\n  <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/wonka.svg\" />\n</a>\n<a href=\"https://npmjs.com/package/wonka\">\n  <img alt=\"License\" src=\"https://img.shields.io/npm/l/wonka.svg\" />\n</a>\n<a href=\"https://coveralls.io/github/kitten/wonka?branch=master\">\n  <img src=\"https://coveralls.io/repos/github/kitten/wonka/badge.svg?branch=master\" alt=\"Test Coverage\" />\n</a>\n<a href=\"https://bundlephobia.com/result?p=wonka\">\n  <img alt=\"Minified gzip size\" src=\"https://img.shields.io/bundlephobia/minzip/wonka.svg?label=gzip%20size\" />\n</a>\n<br>\n\n> “There’s no earthly way of knowing<br>\n> Which direction we are going<br>\n> There’s no knowing where we’re rowing<br>\n> Or which way the river’s flowing” － **Willy Wonka**\n\n<br>\n\n![Wonka](/docs/wonka.jpg?raw=true)\n\nWonka is a lightweight iterable and observable library loosely based on\nthe [callbag spec](https://github.com/callbag/callbag). It exposes a set of helpers to create streams,\nwhich are sources of multiple values, which allow you to create, transform\nand consume event streams or iterable sets of data.\n\n## [Documentation](https://wonka.kitten.sh/)\n\n**See the documentation at [wonka.kitten.sh](https://wonka.kitten.sh)** for more information about using `wonka`!\n\n- [Introduction](https://wonka.kitten.sh/)\n- [**Getting started**](https://wonka.kitten.sh/getting-started)\n- [Basics](https://wonka.kitten.sh/basics/)\n- [API Reference](https://wonka.kitten.sh/api/)\n\nThe raw markdown files can be found [in this repository in the `docs` folder](https://github.com/kitten/wonka/tree/master/docs).\n","publish_time":1678495398127,"_cnpm_publish_time":1678495398127,"dist-tags":{"canary":"6.3.6-canary-8bdb42c9bcf34a50c25e9d9b5223159f212753df","latest":"6.3.6","rc":"5.0.0-rc.1"}}