moontils-local-storage

1.0.0 • Public • Published

Moontils Local Storage

Use Local-Storage as a temporary storage.

This utils help to keep track of temporary files while running. It REMOVES all temporary ON ANY RESTART of the class.

How to use it

Install the npm package : npm install --save moontils-local-storage

Import it into your code :

import LocalStorage from 'moontils-local-storage'

const storage = new LocalStorage('/tmp/test-storage');
const file = storage.create();
file.write.write('Test!\n');

Readme

Keywords

none

Package Sidebar

Install

npm i moontils-local-storage

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • moonkey