1.2.0 • Published 6 years ago

fork-me-github v1.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

fork-me-github

Programatically add fork me on github ribbon from javascript without making changes to CSS, HTML, or adding image files

Rationale

Wanted an easy way to add a "fork me on github" ribbon using plain javascript without changing CSS, HTML, or adding an image file.

Simple Example

const ForkMe = require('fork-me-github')
ForkMe('https://github.com/davidfig/fork-me-github/)

Live Example

https://davidfig.github.io/fork-me-github/

Installation

npm i fork-me-github

API Reference

Inspiration

Ribbon uses Simon Whitaker's github-fork-ribbon-css, which is based on Github's ribbon examples

Similar plugins

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.

license

MIT License
(c) 2017 YOPEY YOPEY LLC by David Figatner

1.2.0

6 years ago

1.1.0

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago