Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Iterators for OCaml, both restartable and consumable. The implementation keeps a good balance between simplicity and performance.
The library is extensively tested using qtest
. If you find a bug,
please report!
The documentation can be found here the main module is Gen and should suffice for 95% of use cases.
Installation in a native OCaml project, via opam:
$ opam install gen
or, manually, by building the library and running make install
. Opam is
recommended, for it keeps the library up-to-date.
Installation in JavaScript, via BuckleScript, in an npm project:
Install this package:
$ npm install bs-gen
Manually add bs-gen
to your bsconfig.json
's bs-dependencies
:
"bs-dependencies": [
...
"bs-gen"
],
You can either build and install the library (see "Build"), or just copy files to your own project. The last solution has the benefits that you don't have additional dependencies nor build complications (and it may enable more inlining).
If you have comments, requests, or bugfixes, please share them! :-)
There are no dependencies except for dune
for building. This should work with OCaml>=4.02
$ make
To build and run tests (requires oUnit
and qtest
):
$ opam install oUnit qtest
$ make test
This code is free, under the BSD license.
0.5.2
FAQs
Simple, efficient iterators for OCaml
The npm package bs-gen receives a total of 1 weekly downloads. As such, bs-gen popularity was classified as not popular.
We found that bs-gen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.