git-topics
Auto create Github topics for repositories
Install
$ yarn add git-topics
Usage
const gitTopics = const token = 'foo' // => "['github', 'git']"
API
gitTopics(token, [options])
Returns a promise
token
Type: string
Required
options
Type: object
topics
Type: array
Default: It will try to get keywords
from package.json
Array of topics to be added to Github
project
Type: string
Default: It will try to get repository
from package.json
Github project to add topics
Related
- git-topics-cli — CLI for this module
License
MIT © Bu Kinoshita