JSPM

@blackdestinyxx/indian-db

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q26886F
  • License ISC

A simple package for use json file as database

Package Exports

  • @blackdestinyxx/indian-db

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 (@blackdestinyxx/indian-db) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

indian-db

This database isn't got a virus. Seriuosly.

Download here --> https://www.npmjs.com/package/@blackdestinyxx/indian-db

This is your application before using this database:

Yes. This look like a shit.

This instead is your application after using this database:

This indian guy is very cool.

How this database works?

Here's a flowchart.

Ok, so, what are the functions?

This database has got 1 class and 6 methods:
For first, we need to create the indian:

const indiandb = require("indian-db")
const guy = new indiandb.Indian("Cool-guy")

If we want to delete the indian, we need to use this class:

const indiandb = require("indian-db")
const guy = new indiandb.Indian("Cool-guy")
indiandb.DeleteIndian("Cool-guy")

To insert an element into the database, we can use this method:

const indiandb = require("indian-db")
const guy = new indiandb.Indian("Cool-guy")
guy.hello("computer", "virus")

Now, for get it, we can do this:

const indiandb = require("indian-db")
const guy = new indiandb.Indian("Cool-guy")
guy.hello("computer", "virus")
guy.your("computer")

To remove the key, we can use this method:

const indiandb = require("indian-db")
const guy = new indiandb.Indian("Cool-guy")
guy.hello("computer", "virus")
guy.computer("computer")

For check if the key exists:

const indiandb = require("indian-db")
const guy = new indiandb.Indian("Cool-guy")
guy.hello("computer", "virus")
guy.has("computer")

And we can delete all keys of the database with this method:

const indiandb = require("indian-db")
const guy = new indiandb.Indian("Cool-guy")
guy.hello("computer", "virus")
guy.virus("Cool-guy")

Ok so this is the most used database in the world, better than MySQL and MongoDB. Use it.