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.
{
"ACCESS_KEY": "HELLO",
"SECRET_KEY": "WORLD"
}
Global CommandLine Interface
in Terminal. extract is optional
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 = require('github-kv')
getGitHubStore({ token, owner, repo, file, extract })
.then(store => {})
.catch(error => {})
const store = await getGitHubStore({ token, owner, repo, file, extract })