GitHub Key-Value Store
GitHub as a Key Value store.
Installation
npm install -g github-kv
Caveat
When create new Personal Access Token, You should check only repo.
Usage
Example key-value store
please show store.json in this repo.
Global CommandLine Interface
in Terminal. extract is optional
# gh-kv --token <GitHub Token> \ # --owner <Owner or Organization> \ # --repo <REPO_NAME> \ # --file <TARGET_FILENAME> \ # --extract <OUTPUT_FILENAME> \ # --webhook <WEBHOOK_POST_URL> gh-kv --token <GitHub Token> --owner changjoo-park --repo kv --file store.json --extract key.json
Module in Node.js
extract is optional same as global CLI
const getGitHubStore = // Promise // async - awaitconst store = await