Skip to content

se0kjun/rawgit-url-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#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