How to use the node-json-db.JsonDB function in node-json-db

To help you get started, we’ve selected a few node-json-db examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ERS-HCL / nxplorerjs-microservice-starter / server / api / services / scraper.service.ts View on Github external
private initPublishDb = () => {
    if (this.dbPublish === undefined) {
      this.dbPublish = new JsonDB('publishDB', true, false);
    }
  };
github ERS-HCL / nxplorerjs-microservice-starter / server / api / services / scraper.service.ts View on Github external
private initDb = () => {
    if (this.db === undefined) {
      this.db = new JsonDB('productsDB', true, false);
    }
  };

node-json-db

Database using JSON file as storage for Node.JS

MIT
Latest version published 6 months ago

Package Health Score

73 / 100
Full package analysis