New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

gh-markdown-viewer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-markdown-viewer

Basic markdown viewer that integrates with github api to seach markdown files.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

github-markdown-viewer

A react component built for the very specific use case of viewing markdown files in a github respository. Just provide a url prop and it will query Github's API and find all .md files in the repo.

Why?

If you store system documentation in a github repo, this viewer comes in handy.

I built this for a project I'm working on (at the time of writing this), where system documentation is kept in a github repo.

Installation

npm i gh-markdown-viewer

Usage

import TreeViewer from '../src/Components/TreeViewer';

<TreeViewer url={'https://api.github.com/repos/<GITHUB_USERNAME>/<REPO_NAME>/contents'}></TreeViewer>

Feel free to fork and reuse.

FAQs

Package last updated on 22 Jul 2019

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