most utils
April 3, 2018 ยท View on GitHub
A collection of utilities for most.
Packages
most-buffer 
Gather most js streams events into buffers.
most-limiter 
Lossless rate limiter for most js.
most-nth 
Retrieve the nth event in a stream as a Promise.
most-range 
Create ranges of integers as most js streams.
Developers
Local development & testing
These packages requires Node v6.9 or later and yarn.
The following commands can be run in the root directory or in any of the package's
- Install dependencies:
$ yarn install - Lint the code:
$ yarn run lint - Run the tests:
$ yarn run test
Releasing a new version (needs administrator rights)
- Make sure the build of the master branch is passing.
- Checkout the master branch locally.
$ git fetch
$ git checkout master
$ git reset --hard origin/master
- Increment the version of all packages and move Unreleased section
of
CHANGELOG.mdto a newly created section for this version.
$ ./scripts/update_version.sh patch
./scripts/update_version.sh minor and ./scripts/update_version.sh major are
also available - see semver for a guideline on when to
use which.
This will create a git commit and a git tag.
- Push everything.
$ git push origin master --tags
This will trigger the publishing of this new version of the packages by travis.