1.0.10 • Published 1 year ago

@samiure/nodestorage v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

localStorage for Node.js.

The syntax is the same as regular localStorage.

const Storage = require('@samiure/nodestorage');

const localStorage = new Storage();

localStorage.setItem('hw', 'Hello world');

console.log(localStorage.getItem('hw')) // Hello world

API

  • localStorage.setItem(key, value);
  • localStorage.getItem(key);
  • localStorage.removeItem(key);
  • localStorage.clear();

1.0.10 - A fully working version without bugs and errors

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.5

1 year ago

1.0.2

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago