rawgit-url-formatter

1.0.1 • Public • Published

rawgit-url-formatter

This repository is modified from this code to use on npm.

Install

npm install rawgit-url-formatter --save

Usage

var rawgitUrl = require('rawgit-url-formatter');

var result = rawgitUrl('https://github.com/se0kjun/rawgit-url-formatter/blob/master/index.js');
console.log(result);

> { dev: 'https://rawgit.com/se0kjun/rawgit-url-formatter/master/index.js',
cdn: 'https://cdn.rawgit.com/se0kjun/rawgit-url-formatter/master/index.js' }

LICENSE

MIT © Seokjun Hong

Package Sidebar

Install

npm i rawgit-url-formatter

Weekly Downloads

4

Version

1.0.1

License

MIT

Last publish

Collaborators

  • se0kjun