Package Exports
- github-spray
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (github-spray) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
GitHub Spray
A CLI to generate sprays for your GitHub commit graph history

Installation
npm i -g github-sprayRequirement
- Git
- Recent NodeJS
Usage
- Create a new GitHub repository and copy its url
github-spray -t <text> --push --origin <github_repository_url>(example)
github-spray -t hello --push --origin https://github.com/John/hello.gitgithub-spray --helpCustom pattern
To use a custom pattern, create a javascript file like follow.
The numbers (1 to 9) will determine the darkness of the green.
module.exports = [
' 999',
' 9 9',
'9 9 9 9',
'9 9',
'9 999 9',
' 9 9',
' 999'
];github-spray -f path/to/pattern.js ...Custom start date
github-spray --startdate YYYY-MM-DD ...The date will be rounded to the nearest sunday.
By default the start date is the nearest sunday of the current date - 53 weeks.