{"_id":"@aureooms/js-sll","_rev":"2-2648a6cf1a8dc9acb15daeb62290b16b","name":"@aureooms/js-sll","description":"Singly linked list code bricks for JavaScript","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.2":{"scripts":{"test":"aureooms-node-package-test","doc":"groc","build":"aureooms-node-package-build"},"description":"Singly linked list code bricks for JavaScript","repository":{"type":"git","url":"git+https://github.com/aureooms/js-sll.git"},"keywords":["bricks","ender","javascript","js","linked","linked list","list","lists","node","nodes","singly","singly linked list","sll"],"main":"js/dist/sll.js","bugs":{"url":"https://github.com/aureooms/js-sll/issues"},"dependencies":{},"name":"@aureooms/js-sll","version":"1.0.2","license":"AGPL-3.0","devDependencies":{"@aureooms/js-array":"^3.1.0","@aureooms/js-itertools":"^3.0.0","aureooms-node-package":"^6.0.1"},"author":{"name":"aureooms"},"homepage":"http://aureooms.github.io/js-sll/","spm":{"main":"js/dist/sll.js"},"gitHead":"1682ff473a2ddb8f35df4e6a0872ece3924b3a93","_id":"@aureooms/js-sll@1.0.2","_shasum":"c286340bccf471d8ad47c27747c0c0ebe74808ab","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.5.0","_npmUser":{"name":"aureooms","email":"aurelien.ooms@gmail.com"},"dist":{"shasum":"c286340bccf471d8ad47c27747c0c0ebe74808ab","tarball":"https://registry.npmjs.org/@aureooms/js-sll/-/js-sll-1.0.2.tgz","integrity":"sha512-Pxby2idDpi6D3DWTAkgkB9HGFtV/ZrPBt0gwDjEBeuNlzCcBJ12PuV5D3I5UIB9FYYHaZgN52a3Gg3QNfo0VaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCA7Khf+p/Nl3dpLgAnkApnQA+HL1RaYUB+n2IsHUSuNQIgLqlgoChQk0Vh29QQGMVtM7ZFf5DsyC4hV5GOFnLapcI="}]},"maintainers":[{"name":"aureooms","email":"aurelien.ooms@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/js-sll-1.0.2.tgz_1487246749299_0.6626511106733233"}}},"readme":"[js-sll](http://aureooms.github.io/js-sll)\n==\n\nSingly linked list code bricks for JavaScript. Parent is\n[aureooms/js-data-structures](https://github.com/aureooms/js-data-structures).\n\n```js\nlet head = sll.list( [ 9 , 2 , 5 ] ) ; // { next : Node , value : 9 }\n```\n\n[![NPM license](http://img.shields.io/npm/l/@aureooms/js-sll.svg?style=flat)](https://raw.githubusercontent.com/aureooms/js-sll/master/LICENSE)\n[![NPM version](http://img.shields.io/npm/v/@aureooms/js-sll.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-sll)\n[![Bower version](http://img.shields.io/bower/v/@aureooms/js-sll.svg?style=flat)](http://bower.io/search/?q=@aureooms/js-sll)\n[![Build Status](http://img.shields.io/travis/aureooms/js-sll.svg?style=flat)](https://travis-ci.org/aureooms/js-sll)\n[![Coverage Status](http://img.shields.io/coveralls/aureooms/js-sll.svg?style=flat)](https://coveralls.io/r/aureooms/js-sll)\n[![Dependencies Status](http://img.shields.io/david/aureooms/js-sll.svg?style=flat)](https://david-dm.org/aureooms/js-sll#info=dependencies)\n[![devDependencies Status](http://img.shields.io/david/dev/aureooms/js-sll.svg?style=flat)](https://david-dm.org/aureooms/js-sll#info=devDependencies)\n[![Code Climate](http://img.shields.io/codeclimate/github/aureooms/js-sll.svg?style=flat)](https://codeclimate.com/github/aureooms/js-sll)\n[![NPM downloads per month](http://img.shields.io/npm/dm/@aureooms/js-sll.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-sll)\n[![GitHub issues](http://img.shields.io/github/issues/aureooms/js-sll.svg?style=flat)](https://github.com/aureooms/js-sll/issues)\n[![Inline docs](http://inch-ci.org/github/aureooms/js-sll.svg?branch=master&style=shields)](http://inch-ci.org/github/aureooms/js-sll)\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-sll\n# or\njspm install npm:@aureooms/js-sll\n```\n### duo\nNo install step needed for duo!\n\n### component\n```terminal\ncomponent install aureooms/js-sll\n```\n\n### bower\n```terminal\nbower install @aureooms/js-sll\n```\n\n### ender\n```terminal\nender add @aureooms/js-sll\n```\n\n### jam\n```terminal\njam install @aureooms/js-sll\n```\n\n### spm\n```terminal\nspm install @aureooms/js-sll --save\n```\n\n### npm\n```terminal\nnpm install @aureooms/js-sll --save\n```\n\n## Require\n### jspm\n```js\nlet sll = require( \"github:aureooms/js-sll\" ) ;\n// or\nimport sll from '@aureooms/js-sll' ;\n```\n### duo\n```js\nlet sll = require( \"aureooms/js-sll\" ) ;\n```\n\n### component, ender, spm, npm\n```js\nlet sll = require( \"@aureooms/js-sll\" ) ;\n```\n\n### bower\nThe script tag exposes the global variable `sll`.\n```html\n<script src=\"bower_components/@aureooms/js-sll/js/dist/sll.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-sll\" ] , function ( sll ) { ... } ) ;\n```\n\n## Use\n\n\n```js\nlet head = sll.list( [ 9 , 2 , 5 ] ) ; // { next : Node , value : 9 }\n\nhead.value ; // 9\nhead.next.value ; // 2\nhead.next.next.value ; // 5\nhead.next.next.next ; // null\n\nfor ( let value of sll.iter( head ) ) {\n\n\t// yields 9 then 2 then  5\n\n}\n```\n","maintainers":[{"name":"aureooms","email":"aurelien.ooms@gmail.com"}],"time":{"modified":"2022-06-12T14:52:13.901Z","created":"2017-02-16T12:05:51.341Z","1.0.2":"2017-02-16T12:05:51.341Z"},"homepage":"http://aureooms.github.io/js-sll/","keywords":["bricks","ender","javascript","js","linked","linked list","list","lists","node","nodes","singly","singly linked list","sll"],"repository":{"type":"git","url":"git+https://github.com/aureooms/js-sll.git"},"author":{"name":"aureooms"},"bugs":{"url":"https://github.com/aureooms/js-sll/issues"},"license":"AGPL-3.0","readmeFilename":"README.md"}