
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
@aureooms/js-adjacency-list
Advanced tools
Adjacency list code bricks for JavaScript. Follows the specification in js-graph-spec. Parent is js-gn.
for ( let v of V( G ) ) ... ;
Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
jspm install github:aureooms/js-adjacency-list
# or
jspm install npm:@aureooms/js-adjacency-list
No install step needed for duo!
component install aureooms/js-adjacency-list
bower install @aureooms/js-adjacency-list
ender add @aureooms/js-adjacency-list
jam install @aureooms/js-adjacency-list
spm install @aureooms/js-adjacency-list --save
npm install @aureooms/js-adjacency-list --save
let adjacencylist = require( "github:aureooms/js-adjacency-list" ) ;
// or
import adjacencylist from '@aureooms/js-adjacency-list' ;
let adjacencylist = require( "aureooms/js-adjacency-list" ) ;
let adjacencylist = require( "@aureooms/js-adjacency-list" ) ;
The script tag exposes the global variable adjacencylist
.
<script src="bower_components/@aureooms/js-adjacency-list/js/dist/adjacency-list.min.js"></script>
Alternatively, you can use any tool mentioned here.
require( [ "@aureooms/js-adjacency-list" ] , function ( adjacencylist ) { ... } ) ;
let dll = require( "@aureooms/js-dll" ) ;
let List = dll.DoublyLinkedList ;
let MultiGraph = adjacencylist.MultiGraph( List ) ;
// use `adjacencylist.MultiDiGraph( List , Map )` for directed multigraphs ;
// (`Map` is the new es6 class, or any other polyfill implementation)
let { V , E , N } = require( "@aureooms/js-graph-theory-notation" ) ;
let G = new Graph( ) ;
let u = G.vadd( ) ;
let v = G.vadd( ) ;
let e = G.eadd( u , v ) ;
for ( let w of V( G ) ) ... ;
for ( let e of E( G ) ) ... ;
for ( let w of N( G , u ) ) ... ;
G.edel( e ) ;
G.vdel( v ) ;
G.vdel( u ) ;
FAQs
adjacency list code bricks for JavaScript
The npm package @aureooms/js-adjacency-list receives a total of 0 weekly downloads. As such, @aureooms/js-adjacency-list popularity was classified as not popular.
We found that @aureooms/js-adjacency-list 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
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.