Skip to content

Wave-Play/stashy

Repository files navigation

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.