stk-simple-kvr-mad
v1.0.0
Published
this is a simple stack package
Downloads
1
Readme
What is this?
this is a simple package for simulate a stack
Installation
npm i stack --save
Then...
const stack = requier('stack);
conat newStack = new stack(model)
async push(req, res, next) {
const stackDb = await this.model.find();
if (!stackDb[0]) {
const newStack = new this.model({
list: {
stack: [req.body.data]
}
})