@r0bl0x10501050/nodegithub

1.0.1 • Public • Published

Installation

// CommonJS compatible
const NodeGitHub = require('@r0bl0x10501050/nodegithub');
const gh = new NodeGitHub('username', 'repo', process.env.GH_TOKEN);

// ES6 compatible
import { NodeGitHub } from '@r0bl0x10501050/nodegithub';
const gh = new NodeGitHub('username', 'repo', process.env.GH_TOKEN);

Usage

gh.commit(branch: string, changes: Object, message: string)

branch - Branch name

changes - File changes in the form of {fileName: newContent}

message - Commit message :D

Credits

@r0bl0x10501050 - Lead Maintainer

Readme

Keywords

none

Package Sidebar

Install

npm i @r0bl0x10501050/nodegithub

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

8.6 kB

Total Files

6

Last publish

Collaborators

  • r0bl0x10501050