0.2.2 • Published 3 years ago
stpro v0.2.2
stPRO
Store and state manager easy and powerful
Use "npm i stpro" to install
in the index use (only in the index... it's a global variable):
import "stpro"type 'stpro' in your console to have a look about your stores (api, store, state,...)
example to set api data:
stpro.api.set("MyApi",[ { api: 'one'} , { api: 'two'} ] , { opt:false } ])example to get api data:
stpro.api.get("MyApi")example to update api data:
stpro.api.update("MyApi",[ { api: '1'} , { api: '2'} ] , { opt:false } ])example to delete single api data:
stpro.api.delete("MyApi")example to delete all api data:
stpro.api.clearAll()You can use:
- stpro.api
- stpro.state
- stpro.store
0.2.1
3 years ago
0.2.2
3 years ago
0.1.92
4 years ago
0.1.93
4 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago