opex-pastebin
v1.0.0
Published
Package for Necobin.me
Downloads
4
Readme
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