{"name":"wonka","description":"A fast push & pull stream library for Reason/OCaml, Flow, and TypeScript","version":"4.0.0-rc.4","author":{"name":"Phil Pluckthun","email":"phil@kitten.sh"},"source":"./src/wonka.ts","main":"./dist/wonka.js","module":"./dist/wonka.es.js","jsnext:main":"./dist/wonka.es.js","types":"./dist/types/src/wonka.d.ts","sideEffects":false,"scripts":{"docs:dev":"gatsby develop","docs:build":"gatsby build","check":"tsc --noEmit","bs:clean":"bsb -clean-world","bs:build":"bsb -make-world","bs:watch":"bsb -make-world -w","test":"jest","refmt":"bsrefmt --in-place **/**/*.{re,rei}","flowgen":"./scripts/generate-flow-files.js","bundle:clean":"rimraf dist node_modules/.cache","bundle":"rollup -c rollup.config.js","clean":"run-s bs:clean bundle:clean","build":"run-s bs:build bundle flowgen","prepublishOnly":"run-s clean build check test"},"keywords":["wonka","reason","bucklescript","callbag","callback","observable","iterable","stream"],"repository":{"type":"git","url":"https://github.com/kitten/wonka"},"homepage":"https://wonka.kitten.sh/","bugs":{"url":"https://github.com/kitten/wonka/issues"},"license":"MIT","dependencies":{},"devDependencies":{"@ampproject/rollup-plugin-closure-compiler":"^0.18.1","@babel/core":"^7.7.7","@babel/plugin-syntax-typescript":"^7.7.4","@babel/plugin-transform-modules-commonjs":"^7.7.5","@babel/preset-env":"^7.7.7","@glennsl/bs-jest":"^0.4.9","@rollup/plugin-buble":"^0.21.0","@rollup/plugin-commonjs":"^11.0.1","@rollup/plugin-node-resolve":"^6.1.0","@types/jest":"^24.0.25","@types/zen-observable":"^0.8.0","babel-plugin-closure-elimination":"^1.3.0","bs-platform":"7.0.2-dev.1","callbag-from-iter":"^1.2.0","callbag-iterate":"^1.0.0","callbag-take":"^1.4.0","coveralls":"^3.0.9","flowgen":"^1.10.0","gatsby":"^2.18.17","gatsby-plugin-netlify":"^2.1.30","gatsby-theme-docs-system":"^0.2.2","gentype":"^3.9.1","globby":"^10.0.1","husky":"^3.1.0","lint-staged":"^9.5.0","npm-run-all":"^4.1.5","prettier":"^1.19.1","react":"^16.12.0","react-dom":"^16.12.0","rimraf":"^3.0.0","rollup":"^1.28.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.25.3","ts-jest":"^24.2.0","typescript":"^3.7.4","zen-observable":"^0.8.15"},"lint-staged":{"*.{d.ts,js}":["prettier --write","git add"],"*.{re,rei}":["bsrefmt --in-place","git add"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"singleQuote":true,"printWidth":100},"jest":{"testEnvironment":"node","testRegex":"(src/.*(\\.|/)(test|spec))\\.(t|j)sx?$","moduleFileExtensions":["js","ts","tsx"],"transform":{"\\.jsx?$":"<rootDir>/scripts/jest-transform-esm.js","\\.tsx?$":"ts-jest"},"transformIgnorePatterns":["/node_modules/(?!bs-platform)"],"collectCoverageFrom":["!<rootDir>/src/wonka.{ts,bs.js}","!<rootDir>/src/wonka_types.{ts,bs.js}","!<rootDir>/src/include/**","!<rootDir>/src/helpers/**","!<rootDir>/src/**/*.{shim,gen}.{ts,tsx}","<rootDir>/src/**/*.{js,ts,tsx}"]},"readmeFilename":"README.md","readme":"# Wonka\n\nA fast push & pull stream library for Reason, loosely following the [callbag spec](https://github.com/callbag/callbag)\n\n> **NOTE:** The `master` branch currently points to the v4 Release Candidate version!\n> If you're looking for v3, [please check the `v3.2.2`](https://github.com/kitten/wonka/tree/v3.2.2)\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\nWonka is written in [Reason](https://reasonml.github.io/), a dialect of OCaml, and can hence be used\nfor native applications. It is also compiled using [BuckleScript](https://bucklescript.github.io) to plain\nJavaScript and has typings for [TypeScript](https://www.typescriptlang.org/) and [Flow](https://flow.org/).\n\nThis means that out of the box Wonka is usable in any project that use the following:\n\n- Plain JavaScript\n- TypeScript\n- Flow\n- Reason/OCaml with BuckleScript\n- Reason/OCaml with `bs-native`\n- Reason/OCaml with Dune and Esy\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","licenseText":"MIT License\n\nCopyright (c) 2018 Phil Plückthun\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"wonka@4.0.0-rc.4","dist":{"shasum":"d1f3f02da44c6b50fb3d463c72c92a8fa8368ae4","integrity":"sha512-gIFR1GrKYvPHMeq8l2Umxqkr0HOmgAV5ikXnilNfoq7FgUXY8j88gSF6gFi5rtfUGX4T/E3SLvtqm5ovyT1k3A==","tarball":"http://registry-npm.ywwl.com/wonka/download/wonka-4.0.0-rc.4.tgz","fileCount":124,"unpackedSize":368067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFwqwCRA9TVsSAnZWagAAzcsP/0pjdN/q9ifqHEuf5o7V\naHfJojo2VIvGP3PuXv7QtRBrgmRL8VV+jpeyfA7V0VL3O2ElPLV1gOhqIT8b\nmVsrTueUlqMG50dURwZwrVKk3wuNy3+dsAZ3gW51jEZ587HElrYwl16Yc2dq\n2nZxnX89HT8cUiCNqF04l0N4SErnFXO3vVhGLiRO4N7T35MHEgxuBRHKmNyN\nlJQpYWeRUYWONAHx7+UKmKxBvQ7+xPVkWsENzygDRWZIDWjSWkkVs7LJrUTS\nbMObA9ZxLRqui5C3rXC2yFhXOOBcpga++bUhh1ILduZH75z4AfCSQDzOhfGq\ntPODScIBhG4mFGGOOuSRg0LikkTztYKheJ8DXRUHY5amNCdPSTQIG0ii6BHW\nZ+TZCM8Rycrp2gZI++vc403G8G5MkXjaavkUSLesI6HrFgZc7vF1iM5SRe7c\nLk5I2e+8YcSgO5y0bZQY5yIjVMgNgi6Bp0ycx8ZUgDNH4CiYoOEufD5ClCll\nFqlUNoxPiZPe6BnWJ8y8+RQr0T/SH5ofEoVsixQpvfsmNPu+b2vGyVU5PAOO\n9k1lwffkRvG2VgmJP0liaHYeIKWPPI+w9WzXV7u5Ikp591v9ADQBLaohPAHW\nI9GT5QwCP0v6dFP8mIe2JZE2ldiiLJlBJBJtoyLk3IVF3JiLsDPH4bHeaebM\nYm2p\r\n=ZGQ/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/om49FYueofj+kLBdYN13Lu6dfC4TmcRLYLsr5xu/rQIhAJR8c26vBH+jjNSAo9uOU9WVAUf4kerZyBCixw9CVmRc"}],"size":59540,"noattachment":false,"key":"/wonka/-/wonka-4.0.0-rc.4.tgz"},"maintainers":[{"email":"phil@kitten.sh","name":"philpl"}],"_npmUser":{"name":"philpl","email":"phil@kitten.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wonka_4.0.0-rc.4_1578568367643_0.06097483856956609"},"_hasShrinkwrap":false,"publish_time":1578568367779,"_cnpm_publish_time":1578568367779,"dist-tags":{"canary":"6.3.6-canary-8bdb42c9bcf34a50c25e9d9b5223159f212753df","latest":"6.3.6","rc":"5.0.0-rc.1"}}