rawgit

```js const rawgit = require("rawgit");

Stats

StarsIssuesVersionUpdatedCreatedSize
rawgit
1.0.04 years ago4 years agoMinified + gzip package size for rawgit in KB

Readme

const rawgit = require("rawgit");

const myRepo = rawgit({
    user: "my-user",
    repository: "my-repo",
    hash: "2ca8d5a86f378e9197f7e6c15a543b45759d864c", // used for CDN
    branch: "master" // used for development
})

myRepo.cdn("build/bundle.css");
// https://cdn.rawgit.com/my-user/my-repo/2ca8d5a86f378e9197f7e6c15a543b45759d864c/build/bundle.css

myRepo.path("build/bundle.css");
// https://rawgit.com/my-user/my-repo/master/build/bundle.scss

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.