web-storage
Just a simple web storage service and package.
Usage
- Insert a simple document.
POST
${SERVICE}/family
Done
- Load saved document.
GET
${SERVICE}/family
- Update saved document's sub-document.
POST
${SERVICE}/family.parents.mother
Done
--
GET
${SERVICE}/family
- Parallel load documents.
GET
${SERVICE}/family.parents.mother,family.parents.father,dummy
- Cross domain loading.
JSONP is also supported for loading. The callback name is $cb
, and can be overrided by environment parameter JSONP_CB
.
Example for jQuery:
$; // get √
Install
nvm installnpm install
Run
npm start
Develop
npm run dev