1.2.4 • Published 3 years ago

fetch-github-content v1.2.4

Weekly downloads
25
License
MIT
Repository
github
Last release
3 years ago

fetch-github-content

Build Status npm version

Instalation

$ npm install fetch-github-content

Usage

const fetchGhContent = require('fetch-github-content')
fetchGhContent({
  owner: 'FujiHaruka',
  repo: 'fetch-github-content',
  path: 'package.json',
  token: 'xxx', // (Optional) Access token
  ref: 'xxx', // (Optional) The name of the commit/branch/tag
  json: true, // (Optional) if true, returns JSON.parse(content)
}).then(console.log)
1.2.4

3 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.0

6 years ago