Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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 | File-size |
---|---|---|
js-graph.es6.js | For use in an ECMAScript 6 context, e.g., a modern browser or transpiler | 14.8 kB |
js-graph.js | Requires you to first load babel/polyfill.js or babel/polyfill-browser.js | 36.0 kB |
js-graph.min.js | Same as above, but minified | 16.2 kB |
js-graph.full.js | Already includes babel/polyfill.js ; ready for use in any context | 124.3 kB |
js-graph.full.min.js | Same as above, but minified | 43.9 kB |
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 1 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.