1.0.0 • Published 3 years ago

advance-pastebin v1.0.0

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

Installation

npm

npm i advance-pastebin

github

git clone https://github.com/XDumpy/advance-pastebin

Usage

//Requirement Importer
const Advance_Pastebin = require("advance-pastebin")
  
//Main
Advance_Pastebin.paste("Test paste message.", {}, function(callback){
	console.log(callback)
})

API

paste(paste, options, callback)

To create a pastebin paste.

paste

The message/paste of the paste.

options

The pastebin paste customize options.

  • paste_name < string > - The paste name.
  • syntax_highlight < string > - The paste syntax highlight.(Bash, C, C#, C++, CSS, HTML, etc)
  • paste_exposure < string > - The paste exposure.(Public, Unlisted)
  • enable_password < bool > - The paste password.(true, false)

callback

returns module callback.

License

MIT © XDumpy