0.2.2 • Published 2 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
2 years ago
0.2.2
2 years ago
0.1.92
4 years ago
0.1.93
3 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago