JSPM

angeldb

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q41042F
  • License MIT

AngelDB is a json database for nodejs

Package Exports

  • angeldb
  • angeldb/src/acs
  • angeldb/src/index.js
  • angeldb/src/main

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (angeldb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Angel DB 😇

Angel code style


AngelDB

img

img img angel code style



Angel DB is a fast json database that allows you to insert data, delete and edit


Getting started

npm i angeldb

After the installation you can create a json file and start immediately.


Usage

import AngelDB to your project

const angel = require('angeldb');

add your json file

const angel = require('angeldb');

const angels = angel("./angels.json");

add an object to the json file

await angels.set({ id: 0, username: "StarBoy", email: "StarBoy@test.com" });

find your objects in the json file

const data = await angels.find(x => x.username === "StarBoy");

update objects in the json file

await angels.update(x => x.username === "StarBoy", { city: "london" });

remove objects in the json file

await angels.remove(x => x.city === "london");

Delete all objects in the json file

await angels.xo();

love you all 😘

..Angel Code Style..