Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 320 Bytes
This is a module for interacting with the pastehtml.com API (http://pastehtml.com/help/api)
INSTALLATION
============
npm install pastehtml
USAGE
=====
var pastehtml = require('pastehtml');
pastehtml.create("<h1>Hello, World!</h1>", "html", function(url) {
console.log("Your content is available at: " + url);
});