JavaScript data structures written in es6 (es 2015)
npm install data-structures-es6




Some data structures implemented in Javascript 2015 (es6): Stack, LinkedList
npm install --save data-structures-es6`###Stack
####API
_Methods_
- push
- pop
- peek
- clear
####Example
`javascript
var Stack = require("data-structures-es6").Stackvar stack = new Stack()
stack.push(1)
stack.push(2)
stack.pop()
stack.clear()
`###LinkedList
####API
_Getters_
- head
- tail
- length
- current
_Methods_
- resetCursor
- next
- push
- at
- removeAt
####Example
`javascript
var LinkedList = require("data-structures-es6").LinkedListvar list = new LinkedList()
list.push(1)
list.push(2)
list.next()
var curentNode = list.current
console.log(curentNode.data) //2
``