2.1.0 • Published 7 years ago

nodegist v2.1.0

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

A simple module allow you to create gists

example:

var Gists=require('nodegist')

var g=new Gists({
	files: {
		'c.js': {
			content: 'var a=1'
		}
	}
})
g.add('a.txt','a')
g.add('b.txt','b')
g.remove('b.txt')
g.desc('aaaaa')
console.log(g.desc())
g.public(true)
	.description('test')
	.create()
	.then(d=>console.log(d.html_url))
	.catch(e=>console.error(e))

more information here

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago