rawgit

1.0.0 • Public • Published
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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i rawgit

      Weekly Downloads

      1

      Version

      1.0.0

      License

      MIT

      Last publish

      Collaborators

      • janbiasi