loyal

1.0.1 • Public • Published

Loyal

Installation

npm install loyal --save

Overview

Loyal allows saving data that persists while your Node.js application is running.

Saving

require('loyal').save(<something>).as(<name>);

Retrieve

var a = require('loyal')(<name>);

Exemplum Gratis

function Constructor() {
    this.a = "a";
}

require('loyal').save(new Constructor()).as('instance');

var instance = require('loyal')('instance');

Readme

Keywords

none

Package Sidebar

Install

npm i loyal

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • bdgrace