jsonbase.com - Node Library
A node wrapper library for https://jsonbase.com
Install
npm install --save jsonbase.com
Write Data
const jsonbase = // Replace this token with your token (any random string).const TOKEN = '3c9622697a53d8b2f3cf825dc4160f7e1aad46c1a759475edeb76bce5cd33a64'// Or use generateBucket() to get unique bucket tokenconst TOKEN_2 = const store = // Any valid JSON object can be written to given end-pointstore // Since jsonbase only allow key-value pairs// Inner JSON object/Value can't be created or modified directly.// instead create your own methodology for creating nested childsstore
Read Data
const jsonbase = // Replace this token with your token (any random string).const TOKEN = '3c9622697a53d8b2f3cf825dc4160f7e1aad46c1a759475edeb76bce5cd33a64' const store = // Reading data from any JSON object returns promise.store store
Delete Data
const jsonbase = // Replace this token with your token (any random string).const TOKEN = '3c9622697a53d8b2f3cf825dc4160f7e1aad46c1a759475edeb76bce5cd33a64' const store = // Pass JSON key to delete.store
If you don't pass any key or provide non-existing key to delete method then it will throw error, so check before using delete on a key.
Limits
https://jsonbase.com has some generous free limit, make sure to check the request-limits before using it in real world applications.