About
📚 Read this template tutorial! 📚
This template is designed for compiling Rust libraries into WebAssembly and
publishing the resulting package to NPM.
Be sure to check out other wasm-pack tutorials online for other
templates and usages of wasm-pack.
🚴 Usage
🐑 Use npm install ctils to use this package
npm install ctils
🛠️ Use In Your Pages
import * as rsStore from 'ctils';
const store = new rsStore.RsStore();
or
import { RsStore } from 'ctils';
const store = new RsStore();
🚴 Apis
store.set('key', 'value');
store.get('key');
store.remove('key');
store.clear();
store.keys();
store.values();
store.size();
store.has('key');
store.get_all();