{"name":"wonka","description":"A tiny but capable push & pull stream library for TypeScript and Flow","version":"0.0.0-canary-20230311000822","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"},"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-20230311000822","_integrity":"sha512-dGF6KVOZhXsfhi/PCMWtYq5dVbU9U2uwrznXTTqqCYsnmyPZ9fOilaXOnfWKc65LiI1ubMfSbOvRZZPN8Idc0w==","_resolved":"/tmp/3fc3ec125afc1684db150e899e2049e2/wonka-0.0.0-canary-20230311000822.tgz","_from":"file:wonka-0.0.0-canary-20230311000822.tgz","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"integrity":"sha512-dGF6KVOZhXsfhi/PCMWtYq5dVbU9U2uwrznXTTqqCYsnmyPZ9fOilaXOnfWKc65LiI1ubMfSbOvRZZPN8Idc0w==","shasum":"01814479f1533809b03d88b871b08b77b56fcd04","tarball":"http://registry-npm.ywwl.com/wonka/download/wonka-0.0.0-canary-20230311000822.tgz","fileCount":29,"unpackedSize":338624,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFOXLEBnWdTut1E1TOjoB4NV3BGIkvApLWWbM6oKVM9AiEAqj8PvPrAoh3gJs8HMrQdSzI4Mq8M70kx8aYHYVV7moY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC8aLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqTtQ/7B/we27F0527s6E6JLmleKp4riSrV6v24gfcaqC0lrIokW9Oq\r\njO0FB5MkPBrUcEVEJnin74t304zh319+CHBe64dlnXmnXPc80HeP3SVg0gDF\r\nPCAB9eKeMZeDVnjRFNrFE1Zy2B0cAUHd7vBGIr+Xo1Rv4tX1U7n0grtPT+Lg\r\nm970Q02T75GG+wd77PpQGDfycwVH94VshDTnvCiCpTv+3T/VY4MDpLAz8ncp\r\nWuC5wTFsjNlWwax4+2a6Old5nU4dDiYV/Gqp0asNg8wZXcdUapszWs9sl6xI\r\nrbhHeuMSzNkTgBVLYb6mQ/Ig+zZ5w5P3l4q8IMWha9Sw1q79+hcFqf1WZODV\r\naFSvY7AL2yLCt489rYoDHQ7Lyn0j+V8TtPYE+Q5qbbVGABONo9iTlcMfgbIK\r\njKHtY7hNNnHtYf9Gb1FagfiN/a6pRinpCc5vX04BhoRWfkrcFMS9maIHZbtm\r\nYTEOJVSxlbtjlBkXwSxXabk5acmA0JfHn6wU1yfdKft2CB6/8Bm3MN4O3pA2\r\nFTkiQLQWeWuzRVTHlbeii76U2Tjrswvq90AbTt9ViaIwqW6gX7xJfVdkVAEl\r\neDS2mxxC3UEXfPzbVvQbMdUdpdahaAJL8AnZp9hkIVBgYOTLQOkX5Cutc/FZ\r\nBdqnH4XKKBvUQxfxZWLyAmta5SFbD7UuYC0=\r\n=wG+k\r\n-----END PGP SIGNATURE-----\r\n","size":63152,"noattachment":false,"key":"/wonka/-/wonka-0.0.0-canary-20230311000822.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-20230311000822_1678493322840_0.4895036295957844"},"_hasShrinkwrap":false,"publish_time":1678493323014,"_cnpm_publish_time":1678493323014,"dist-tags":{"canary":"6.3.6-canary-8bdb42c9bcf34a50c25e9d9b5223159f212753df","latest":"6.3.6","rc":"5.0.0-rc.1"}}