node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

ordered-list

JS Ordered list

Example

 
var list = new List()
 
list.add('A', 'World')
list.add('B', 'Hello')
 
list.reverse()
 
list.forEach(function(value) {
  console.log(value)
})
 

Outputs:

Hello
World

Install

npm install ordered-list

License

MIT