This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

paste-share

1.0.4 • Public • Published

About

NodeJS module to create/share pastes created on PasteShare and returns shortern URL!

Installation

Install via NPM

 
npm install paste-share --save
 

Example

i. Create Paste

 
var paste = require('paste-share');
 
var title = "What is Lorem Ipsum?";
var content = "Something about lorem ipsum...";
paste.create(title, content, function(err, url){
    console.log(url);
});
 

ii. Get Paste Content using Token ID

 
var paste = require('paste-share');
 
var token = 'ee2855561f36181b247b02f399d76435be695d6a';
paste.get(token, function(err, res){
    console.log(res);
});
 

Any issue or want more features? Contact me!

This module has been tested under limited scenarios. If you find any issue please feel free to report via one of the below platforms:

Github: paste-share | Email: harshdoshi999@gmail.com | Skype: harshxxx3

Package Sidebar

Install

npm i paste-share

Weekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • harshdoshi999