null-storage
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Null Storage

GitHub GitHub tag (latest SemVer) TypeScript Support

Web Storage API implementation with no store effects.

May be used when storage not configured yet or inside Node.JS as placeholder.

Installation

Using npm

npm i null-storage

Example

import { nullStorage } from "null-storage";

// Note: nothing will be saved!
nullStorage.setItem("key");

Contributors

License

MIT

Package Sidebar

Install

npm i null-storage

Weekly Downloads

0

Version

1.0.0

License

UNLICENSED

Unpacked Size

2.81 kB

Total Files

5

Last publish

Collaborators

  • horat1us