opex-pastebin

1.0.0 • Public • Published

opex-pastebin

Usage

createPaste

await createPaste(`some content`)

getInfo

await getInfo("code"}

Example

createPaste

const { createPaste, getInfo } = require("opex-pastebin")
//link to paste: https://nekobin.com/KEY
(async function (){
 console.log(await createPaste(`
 Our channel: t.me/OpexDev
 `))
})()

getInfo

const { createPaste, getInfo } = require("opex-pastebin")

(async function (){
 console.log(await getInfo("homuhisobu"))
})()

limits

limits: documents:

getInfo:
  - amount: 20
    period: 5 seconds
  - amount: 10000
    period: 1 day

createPaste:
  - amount: 10
    period: 1 minute
  - amount: 20
    period: 1 hour
  - amount: 50
    period: 1 day

Developer

OpexDev

/opex-pastebin/

    Package Sidebar

    Install

    npm i opex-pastebin

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    10.1 kB

    Total Files

    7

    Last publish

    Collaborators

    • oreh-orehov