js-sheets
v0.1.1
Published
A javascript array manipulation library that mimics spreadsheet and database functionality in variable
Downloads
4
Readme
js-sheets
A javascript array manipulation library that mimics spreadsheet and database functionality in variable
Installing
Install using npm:
npm install js-sheets --save
Include in your code:
const Sheets = require('js-sheets');
let arr = new Sheets();
Usage
Extends Array
js-sheets extends the native Array class, so you can treat it like you would a normal array.
let arr = new Sheets();
arr[0] = {foo:'bar'};
arr.push({foo:'baz'});
arr.forEach(item=>{
console.log(item.foo);
});
License
This project is licensed under the MIT License - see the LICENSE.md file for details