goble

0.0.4 • Public • Published

goble

A global store.

Usage

Setting a global variable.

var goble = require('goble');

goble.set('foo', 'bar');

Getting a global variable

// print 'bar' to console
console.log(goble.get('foo'));

Clearing all global variables

goble.clear();

// print null
console.log(goble.get('foo'));

Testing

goble uses the jest framework. To execute all tests, run npm test

Documentation

Install jsdoc globally using npm install -g jsdoc or locally using npm install --save-dev jsdoc.

Run npm run jsdoc to generate documentation.

Readme

Keywords

Package Sidebar

Install

npm i goble

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

3.6 kB

Total Files

5

Last publish

Collaborators

  • darthhahn