github-profile-message

1.0.5 • Public • Published

Github profile message

Install

brew install python
npm install github-profile-message --save

Usage

Do not use an existed repo or it'll be deleted!

gl = new require('github-profile-message');
gl.post("message").then(fucntion(){
  // callback
});

Config

You can config via construction method or enviroment vars

export HUBOT_GITHUB_TOKEN="github_token"
export GITHUB_LED_REPO="Your_repo_name"
export GITHUB_PUSH_NUMBER="Number of commits for each dot." (default is 100)
export GITHUB_LED_FONT="font packeage name" (optional)
gl = new require('github-profile-message');
gl.config.repo = "repo_name";
gl.config.push_number = 100;
gl.config.font = {"A": [0x7E, 0x11, 0x11, 0x11, 0x7E]}; // package name or object

Readme

Keywords

Package Sidebar

Install

npm i github-profile-message

Weekly Downloads

5

Version

1.0.5

License

MIT

Unpacked Size

44.8 kB

Total Files

6

Last publish

Collaborators

  • yuyuvn