Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.03 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.03 KB

Stashy

GitHub license Tests npm minizipped size

Flexible storage for Node, React Native, and the browser

Install

Using NPM

npm install @waveplay/stashy

Using Yarn

yarn add @waveplay/stashy

Basic usage

import stashy from '@waveplay/stashy'

// Get a value from storage
const displayName = stashy.getString('name')
console.log(`Your username is ${displayName}`)

// Update a value in storage
stashy.set('name', 'Pkmmte Xeleon')

Credits

This project was originally developed for WavePlay.

License

The MIT License.