node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

thank-you-stars

thank-you-stars

Give your dependencies stars on GitHub!

npm version Node.js Version Support build status dependency status Greenkeeper badge License

Setup

Install

$ npm install -g thank-you-stars

Save your GitHub personal access token

  1. Open https://github.com/settings/tokens and click "Generate new token"
  2. Input desc, select only "public_repo" as scope and click "Generate token"
  3. Copy the token and save as ~/.thank-you-stars.json:
{
        "token": "YOUR_TOKEN"
}

or an environment variable GITHUB_TOKEN.

Usage

After npm install, run in your project root directory. And then, it stars your dependencies and devDependencies in your package.json.

$ ls
node_modules/       package.json
 
$ thank-you-stars
Starred! https://github.com/mikedeboer/node-github
Starred! https://github.com/npm/hosted-git-info
Starred! https://github.com/npm/normalize-package-data
Starred! https://github.com/sindresorhus/p-queue
Starred! https://github.com/eslint/eslint
Starred! https://github.com/teppeis/eslint-config-teppeis
Starred! https://github.com/power-assert-js/power-assert
Starred! https://github.com/mochajs/mocha

License

MIT License: Teppei Sato <teppeis@gmail.com>