
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
a javascript library for storing arbitrary data in mathematical (di)graphs, as well as traversing and analyzing them in various ways (ECMAScript 6 Ready)
js-graph
is a javascript library for storing arbitrary data in mathematical (di)graphs,
as well as traversing and analyzing them in various ways. It was originally created to
track dependencies between options and modules. It is now rewritten in ECMAScript 6, but
ECMAScript 5 versions are shipped with it, automatically generated with Babel.
The library is fully functional and has 100% test-coverage, but the API is not yet
properly documented. You could, of course, read the tests in the test
directory, but
user-friendly API documentation is forthcoming.
Feedback of any kind (questions, issues, pull requests) is greatly appreciated.
The dist
directory offers different files for use in different circumstances.
Use the following table to determine which file to use in your situation.
File | Description |
---|---|
js‑graph.es6.js | For use in an ECMAScript 6 context, e.g., a modern browser or transpiler |
js‑graph.js | Requires you to first load babel/polyfill.js or babel/polyfill-browser.js |
js‑graph.min.js | Same as above, but minified |
js‑graph.full.js | Already includes babel/polyfill.js ; ready for use in any context |
js‑graph.full.min.js | Same as above, but minified |
If you don't know which one you need, you probably want js-graph.full.min.js
.
FAQs
a javascript library for storing arbitrary data in mathematical (di)graphs, as well as traversing and analyzing them in various ways (ECMAScript 6 Ready)
The npm package js-graph receives a total of 11 weekly downloads. As such, js-graph popularity was classified as not popular.
We found that js-graph 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.