Skip to content
main
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

XENNON

Xennon is a extended version of Store, rewritten entirely in Typescript

THIS IS NOT YET FINISHED

Features

  • Simple, powerful data management and filtering
  • ES6 and Promises, callbacks be gone
  • Built in Backup and Restore
  • Scheduled Backups
  • read/write queuing to prevent data loss

Install

Installing Xennon is as easy as running

npm i xennon

or the equivalent command within Yarn or PNPM

Example

import XennonStore from "xennon";
const Store = new XennonStore();

await Store.add({
  lion: "🦁",
}); // => 'gf34sezvoh6'

Store.find({ lion: "🦁" });
// => {lion: '🦁', _id: 'gf34sezvoh6'}

Store.edit("gf34sezvoh6", {
  lion: "🐺",
});

Store.delete("gf34sezvoh6");
// => true

You can see more of what Xennon can do in the Documentation

About

Xennon is a simple, persistent JSON data storage model, with simple filtering and data protection.

Resources

Releases

No releases published

Packages

No packages published