{"_id":"@aureooms/js-adjacency-list","_rev":"2-f03bfacd334aa9d78b645169b0581af6","name":"@aureooms/js-adjacency-list","description":"adjacency list code bricks for JavaScript","dist-tags":{"latest":"4.0.7"},"versions":{"4.0.7":{"main":"js/dist/adjacency-list.js","version":"4.0.7","bugs":{"url":"https://github.com/aureooms/js-adjacency-list/issues"},"keywords":["adjacency","bricks","data","edge","edges","ender","graph","graphs","javascript","js","list","structure","structures","vertex","vertices"],"devDependencies":{"@aureooms/js-dll":"^6.0.9","@aureooms/js-graph-spec":"^5.0.0","aureooms-node-package":"^6.0.1"},"name":"@aureooms/js-adjacency-list","homepage":"http://aureooms.github.io/js-adjacency-list/","scripts":{"test":"aureooms-node-package-test","doc":"groc","build":"aureooms-node-package-build"},"description":"adjacency list code bricks for JavaScript","spm":{"main":"js/dist/adjacency-list.js"},"author":{"name":"aureooms"},"dependencies":{},"license":"AGPL-3.0","repository":{"type":"git","url":"git+https://github.com/aureooms/js-adjacency-list.git"},"gitHead":"b9fb0a64a6e6e52b5e1718845f01d18f0010db74","_id":"@aureooms/js-adjacency-list@4.0.7","_shasum":"ecf49d7384551bb24c10e4667ec0d21f11d8eb36","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.5.0","_npmUser":{"name":"aureooms","email":"aurelien.ooms@gmail.com"},"dist":{"shasum":"ecf49d7384551bb24c10e4667ec0d21f11d8eb36","tarball":"https://registry.npmjs.org/@aureooms/js-adjacency-list/-/js-adjacency-list-4.0.7.tgz","integrity":"sha512-4MDOcfhT8MgAkneaMaXLUzq+8zz8XLH7gbePsMb4224yqNdpyyjKsv3wUpMvfqmneGKkH/hOkYazsUY/eKBObA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID73NMTazX1yxwIDU+yNpBwx6Ty7UwUUvpYGxmR24RTPAiEAnJFpXEjXZeM4C3N2u+GjjILzMYGK7ShkeiQ2ymggjXM="}]},"maintainers":[{"name":"aureooms","email":"aurelien.ooms@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/js-adjacency-list-4.0.7.tgz_1487247304938_0.5469354288652539"}}},"readme":"[js-adjacency-list](http://aureooms.github.io/js-adjacency-list)\n==\n\nAdjacency list code bricks for JavaScript.\nFollows the specification in\n[js-graph-spec](https://github.com/aureooms/js-graph-spec).\nParent is [js-gn](https://github.com/aureooms/js-gn).\n\n```js\nfor ( let v of V( G ) ) ... ;\n```\n\n[![NPM license](http://img.shields.io/npm/l/@aureooms/js-adjacency-list.svg?style=flat)](https://raw.githubusercontent.com/aureooms/js-adjacency-list/master/LICENSE)\n[![NPM version](http://img.shields.io/npm/v/@aureooms/js-adjacency-list.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-adjacency-list)\n[![Bower version](http://img.shields.io/bower/v/@aureooms/js-adjacency-list.svg?style=flat)](http://bower.io/search/?q=@aureooms/js-adjacency-list)\n[![Build Status](http://img.shields.io/travis/aureooms/js-adjacency-list.svg?style=flat)](https://travis-ci.org/aureooms/js-adjacency-list)\n[![Coverage Status](http://img.shields.io/coveralls/aureooms/js-adjacency-list.svg?style=flat)](https://coveralls.io/r/aureooms/js-adjacency-list)\n[![Dependencies Status](http://img.shields.io/david/aureooms/js-adjacency-list.svg?style=flat)](https://david-dm.org/aureooms/js-adjacency-list#info=dependencies)\n[![devDependencies Status](http://img.shields.io/david/dev/aureooms/js-adjacency-list.svg?style=flat)](https://david-dm.org/aureooms/js-adjacency-list#info=devDependencies)\n[![Code Climate](http://img.shields.io/codeclimate/github/aureooms/js-adjacency-list.svg?style=flat)](https://codeclimate.com/github/aureooms/js-adjacency-list)\n[![NPM downloads per month](http://img.shields.io/npm/dm/@aureooms/js-adjacency-list.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-adjacency-list)\n[![GitHub issues](http://img.shields.io/github/issues/aureooms/js-adjacency-list.svg?style=flat)](https://github.com/aureooms/js-adjacency-list/issues)\n[![Inline docs](http://inch-ci.org/github/aureooms/js-adjacency-list.svg?branch=master&style=shields)](http://inch-ci.org/github/aureooms/js-adjacency-list)\n\nCan be managed through [jspm](https://github.com/jspm/jspm-cli),\n[duo](https://github.com/duojs/duo),\n[component](https://github.com/componentjs/component),\n[bower](https://github.com/bower/bower),\n[ender](https://github.com/ender-js/Ender),\n[jam](https://github.com/caolan/jam),\n[spm](https://github.com/spmjs/spm),\nand [npm](https://github.com/npm/npm).\n\n## Install\n\n### jspm\n```terminal\njspm install github:aureooms/js-adjacency-list\n# or\njspm install npm:@aureooms/js-adjacency-list\n```\n### duo\nNo install step needed for duo!\n\n### component\n```terminal\ncomponent install aureooms/js-adjacency-list\n```\n\n### bower\n```terminal\nbower install @aureooms/js-adjacency-list\n```\n\n### ender\n```terminal\nender add @aureooms/js-adjacency-list\n```\n\n### jam\n```terminal\njam install @aureooms/js-adjacency-list\n```\n\n### spm\n```terminal\nspm install @aureooms/js-adjacency-list --save\n```\n\n### npm\n```terminal\nnpm install @aureooms/js-adjacency-list --save\n```\n\n## Require\n### jspm\n```js\nlet adjacencylist = require( \"github:aureooms/js-adjacency-list\" ) ;\n// or\nimport adjacencylist from '@aureooms/js-adjacency-list' ;\n```\n### duo\n```js\nlet adjacencylist = require( \"aureooms/js-adjacency-list\" ) ;\n```\n\n### component, ender, spm, npm\n```js\nlet adjacencylist = require( \"@aureooms/js-adjacency-list\" ) ;\n```\n\n### bower\nThe script tag exposes the global variable `adjacencylist`.\n```html\n<script src=\"bower_components/@aureooms/js-adjacency-list/js/dist/adjacency-list.min.js\"></script>\n```\nAlternatively, you can use any tool mentioned [here](http://bower.io/docs/tools/).\n\n### jam\n```js\nrequire( [ \"@aureooms/js-adjacency-list\" ] , function ( adjacencylist ) { ... } ) ;\n```\n\n## Use\n\n\n```js\nlet dll = require( \"@aureooms/js-dll\" ) ;\nlet List = dll.DoublyLinkedList ;\n\nlet MultiGraph = adjacencylist.MultiGraph( List ) ;\n// use `adjacencylist.MultiDiGraph( List , Map )` for directed multigraphs ;\n// (`Map` is the new es6 class, or any other polyfill implementation)\n\nlet { V , E , N } = require( \"@aureooms/js-graph-theory-notation\" ) ;\n\nlet G = new Graph( ) ;\n\nlet u = G.vadd( ) ;\n\nlet v = G.vadd( ) ;\n\nlet e = G.eadd( u , v ) ;\n\nfor ( let w of V( G ) ) ... ;\n\nfor ( let e of E( G ) ) ... ;\n\nfor ( let w of N( G , u ) ) ... ;\n\nG.edel( e ) ;\n\nG.vdel( v ) ;\n\nG.vdel( u ) ;\n```\n","maintainers":[{"name":"aureooms","email":"aurelien.ooms@gmail.com"}],"time":{"modified":"2022-06-12T14:51:54.201Z","created":"2017-02-16T12:15:06.809Z","4.0.7":"2017-02-16T12:15:06.809Z"},"homepage":"http://aureooms.github.io/js-adjacency-list/","keywords":["adjacency","bricks","data","edge","edges","ender","graph","graphs","javascript","js","list","structure","structures","vertex","vertices"],"repository":{"type":"git","url":"git+https://github.com/aureooms/js-adjacency-list.git"},"author":{"name":"aureooms"},"bugs":{"url":"https://github.com/aureooms/js-adjacency-list/issues"},"license":"AGPL-3.0","readmeFilename":"README.md"}