1.0.4 • Published 3 years ago

backend-simulator v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Welcome to Backend Simulator


  • you can install using Yarn with:

    				yarn add backend-simulator
  • or using npm with:

    				npm install backend-simulator
  • usage:
   const users = new BackendSimulator();

  await users.save({ name: "daniel", id: 3321 });
  await users.put(3321, { name: "daniel vidal" });
  await users.getById(3321);
  await users.delete(3321);
  users.getItems({
    pageSize: 3,
    query:{
      name:'daniel'
    }
  });