{"name":"wonka","description":"A tiny but capable push & pull stream library for TypeScript and Flow","version":"0.0.0-canary-20230327135055","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-sucrase":"^5.0.1","@rollup/plugin-terser":"^0.1.0","@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"},"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","readmeFilename":"README.md","homepage":"https://github.com/0no-co/wonka#readme","_id":"wonka@0.0.0-canary-20230327135055","_integrity":"sha512-s1KUIy6bXvKxgYM37XEn9nApoRWzvlM6EbbQLe+T8JkhfqoynqR1Q1IdNkC3UMN7BdBlDU/eo10WbimBuU8bEA==","_resolved":"/tmp/b0387978ff7f5cde69aedab52571f2c7/wonka-0.0.0-canary-20230327135055.tgz","_from":"file:wonka-0.0.0-canary-20230327135055.tgz","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-s1KUIy6bXvKxgYM37XEn9nApoRWzvlM6EbbQLe+T8JkhfqoynqR1Q1IdNkC3UMN7BdBlDU/eo10WbimBuU8bEA==","shasum":"b813d72cb7985f8c014649b9468c10993d1e5367","tarball":"http://registry-npm.ywwl.com/wonka/download/wonka-0.0.0-canary-20230327135055.tgz","fileCount":31,"unpackedSize":302312,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLgnHB5oMePB8dcI9scsk9ZK8zoVFhDHBKZ82lTa6rvAiEA8kogg8y/3Sf77CKq12Geu7MRpk4J0RWKdUPciO+GaxY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIZ9SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoThA//Q6aWMjAV3UxxjxuwE3cAPUZ6EIS4L7BoMGYqtEoOEhsDuF5F\r\nHbkxsjCondEpdb3bHMKhyWTbCxAuy1gCC7fpaEEbRK7I7osYsc1ZQ5Bwx1S7\r\nBqj5rdwmdyVc1k8sLSBGXJ45+piNI/Le7tiIa//F7sdLgR04TBtMR+/Hxc1J\r\ndypi858D0F5eKalZ3x++10OKsMxVFFnw8TiE5tStsdpmSsHDq7Z7mLqtsj+A\r\nG7Chrj3Vu9nVSs2AmUtJDDxwB47bcxz8S9ujoyGRuul2F34GjLWEF6nLtmt2\r\nyL6qBVCnmzxRKsATmT5S+ZGzwa0OdQ6dQL5xIzXtpf83xM9QoHhQ6a5UpThP\r\nMTRk6T52LMT8wCFFKtzL9tikVtyr8fu59EwxdSi79xscXMCInsrIZ0AdENXM\r\ncx4m5xQLmm5wtBGpSPkFSWCqbY74Cwf32rHWsYnL0YWLM8sXDsRhRRP1YuWK\r\nmk0oLEe+DDowOBNwaBTT4Ply5mbDwgbyA+d9Lb1Ob5idip5mZgtRapwDmMwK\r\n/MP0iwyl2ENDgjwY3vBsyuQ8Loq2wu+nBSWl04PVv/M41oHR4aIcCwP0zwjw\r\nm3zIivk/qOfEJOjySuJFNaSNvp3TJq+AgtQ+qwTO8vejrJYz2PfnOtPT95fg\r\n1J2LzmJMA31BJ/URa+5hG/5eu55VL0vsAJo=\r\n=N01k\r\n-----END PGP SIGNATURE-----\r\n","size":54630,"noattachment":false,"key":"/wonka/-/wonka-0.0.0-canary-20230327135055.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_0.0.0-canary-20230327135055_1679925074301_0.14652331553703113"},"_hasShrinkwrap":false,"publish_time":1679925074469,"_cnpm_publish_time":1679925074469,"dist-tags":{"canary":"6.3.6-canary-8bdb42c9bcf34a50c25e9d9b5223159f212753df","latest":"6.3.6","rc":"5.0.0-rc.1"}}