🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

fetch-github-content

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-github-content

[![Build Status](https://travis-ci.org/FujiHaruka/fetch-github-content.svg?branch=master)](https://travis-ci.org/FujiHaruka/fetch-github-content) [![npm version](https://badge.fury.io/js/fetch-github-content.svg)](https://badge.fury.io/js/fetch-github-con

latest
Source
npmnpm
Version
1.2.4
Version published
Maintainers
1
Created
Source

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)

Keywords

GitHub

FAQs

Package last updated on 11 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts