get fake products
Installation
npm install fake-products-sj
Usage
For use fake products
var fakeProducts = require('fake-products-sj');
fakeProducts.addProduct({name:'Iphone Z', amount: 2});
fakeProducts.getProducts();
fakeProducts.deleteProducts(1);
fakeProducts.editProducts(1, 'Iphone X plus', 3);
fakeProducts.buyProduct(1, 'my_id');
fakeProducts.getHistorySell();