0.0.1 • Published 4 years ago

strapi-plugin-kv v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Strapi plugin kv

Quick Examples

API Access:

# GET /kv/:key
### returns key

# POST /kv/:key
{ "value": { "some": "valid JSON data" } }
### adds key with given value to strapi

Access storage service:

const storage = strapi.plugins["kv"].services.storage;
storage.get("key");
storage.set("key", { description: "any data" });