Programatically add fork me on github ribbon from javascript without making changes to CSS, HTML, or adding image files
Wanted an easy way to add a "fork me on github" ribbon using plain javascript without changing CSS, HTML, or adding an image file.
const ForkMe = require('fork-me-github')
ForkMe('https://github.com/davidfig/fork-me-github/)
https://davidfig.github.io/fork-me-github/
npm i fork-me-github
Ribbon uses Simon Whitaker's github-fork-ribbon-css, which is based on Github's ribbon examples
Merrier's github-fork-ribbon-normal plugin is very similar, and something I probably would have used if I had found it before writing this one.
MIT License
(c) 2017 YOPEY YOPEY LLC by David Figatner