Skip to content

mohamadkvr/stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

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]
        }
      })

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published