https://github.com/coderaiser/node-hippa
Read file or directory contents from github repo
https://github.com/coderaiser/node-hippa
file github read repo
Last synced: 9 months ago
JSON representation
Read file or directory contents from github repo
- Host: GitHub
- URL: https://github.com/coderaiser/node-hippa
- Owner: coderaiser
- License: mit
- Created: 2014-12-01T15:27:27.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-02-09T09:58:12.000Z (about 8 years ago)
- Last Synced: 2025-05-22T18:38:01.439Z (10 months ago)
- Topics: file, github, read, repo
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
# Hippa [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]
[NPMIMGURL]: https://img.shields.io/npm/v/hippa.svg?style=flat
[BuildStatusIMGURL]: https://img.shields.io/travis/coderaiser/hippa/master.svg?style=flat
[DependencyStatusIMGURL]: https://img.shields.io/gemnasium/coderaiser/hippa.svg?style=flat
[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
[NPMURL]: https://npmjs.org/package/hippa "npm"
[BuildStatusURL]: https://travis-ci.org/coderaiser/hippa "Build Status"
[DependencyStatusURL]: https://gemnasium.com/coderaiser/hippa "Dependency Status"
[LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License"
[CoverageURL]: https://coveralls.io/github/coderaiser/readify?branch=master
[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/readify/badge.svg?branch=master&service=github
Read file or directory contents from github repo with help of node.
## Install
```
npm i hippa -g
```
## How to use?
### Global
```
$ hippa
Usage: hippa [owner/repo/path]
$ hippa coderaiser/node-hippa/README.md
```
### Local
```
npm i hippa --save
```
## Example
```js
const hippa = require('hippa');
const path = 'coderaiser/node-hippa/package.json';
hippa(path, (error, data) => {
if (error)
return console.error(error.message);
console.log(data);
});
```
## License
MIT