💫 GH-TO-PAGES
Convert Github Repo URL to Github Pages
Example
Convert from
'https://github.com/rohmanhm/gh-to-pages' // support with https protocol'http://github.com/rohmanhm/gh-to-pages' // support with http protocol'github.com/rohmanhm/gh-to-pages' // support without protocol'git@github.com:rohmanhm/gh-to-pages.git' // support ssh url
to
'https://rohmanhm.github.io/gh-to-pages'
Install
- NPMnpm install gh-to-pages --save
- Yarnyarn add gh-to-pages
How to use
// es6// commonjsconst ghToPages = // result https://rohmanhm.github.io/gh-to-pages
LICENSE
MIT @rohmanhm