Warning
This repository has been unmaintained and is now ARCHIVED.
Monix.js is a reactive streams library for JavaScript, TypeScript and Flow.
The code is organized in sub-projects, for à la carte dependencies,
but all types, classes and functions are exported by monix
, so to
import everything:
npm install --save monix
Or you can depend on individual sub-projects, see below.
The library has been compiled using UMD (Universal Module Definition), so it should work with CommonJS and AMD, for standalone usage in browsers or Node.js.
But it also provides a module
definition in package.json
, thus
providing compatibility with
ECMAScript 2015 modules,
for usage when used with a modern JS engine, or when bundling with a
tool chain that understands ES2015 modules,
like Rollup
or Webpack.
Monix.js has been split in multiple sub-projects for à la carte
dependency management. As mentioned above, you can depend on
everything by depending on the monix
project.
Monix.js supports both TypeScript and Flow type annotations out of the box.
It also makes the best use of the capabilities of each. For example TypeScript has bivariant generics, but Flow supports variance annotations and Monix.js makes use of them. Development happens in TypeScript, due to better tooling, but both are first class citizens.
The Monix.js project welcomes contributions from anybody wishing to participate. All code or documentation that is provided must be licensed with the same license that Monix.js is licensed with (Apache 2.0).
Feel free to open an issue if you notice a bug, have an idea for a feature, or have a question about the code. Pull requests are also gladly accepted. For more information, check out the contributor guide.
All code in this repository is licensed under the Apache License, Version 2.0. See LICENCE.