简单的微信小程序Storage相关的封装, 特点是安全的数据源, 有效的存储时间
MIT License
Git Package Manager, make you manage the repository easier
npm install @axetroy/wxapp-storage
// usage
import Storage from '@axetroy/wxapp-storage';
const store = new Storage(wx);
store.set('userinfo',{
username: 'axetroy',
age: 'Forever Young'
});
console.log(store.get('userinfo'));
存储
git clone https://github.com/axetroy/wxapp-storage.git
cd ./wxapp-storage
yarn
You can flow Contribute Guide
Axetroy💻 🔌 ⚠️ 🐛 🎨 |
---|
The MIT License