node-keyboard-github
v1.0.0
Published
GitHub search plugin for node-keyboard
Downloads
2
Readme
node-keyboard-github
GitHub search plugin for node-keyboard
Installation
As Global
If you installed node-keyboard globally, then install this plugin via npm i -g node-keyboard-github
Then start node keyboard via node-keyboard
, and import this plugin via const github = requireg('node-keyboard-github')
As Local
If instead you cloned node-keyboard, then install locally in that folder via npm i node-keyboard-github
Then start node keyboard via node keyboard
and import this plugin via const github = require('node-keyboard-github')
Configuration
The following environment variables need to be added:
SATORI_ACCESS_TOKEN
see https://developer.satori.comGITHUB_ACCESS_TOKEN
see GitHub docs
API
starredRepos()
returns a subscription with{ user, repository, languages }
for every public star action on GitHubsourceSearch(query: String)
returns a subscription with{ user, repository, items }
for every public star action on GitHub for a repository containing the givenquery