
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
api-paste.ee
Advanced tools
A basic library for interacting with Paste.ee API
This library requires an paste.ee API key
Add api-paste.ee to your existing project.
npm i api-paste.ee
// Import the Library ( Required )
const Paste_ee = require("api-paste.ee");
// or
import Paste_ee = require("api-paste.ee");
const paste = new Paste_ee('YOUR_APPLICATION_KEY'); // Create New Object ( Required )
// NEW PASTE
const singleSection = {
"name": "A new Paste", // Paste Name ( Optional )
"description": "Sample Description", // Paste Description ( Optional )
"syntax": "autodetect", // Syntax ( Optional )
"expire": '1d', // Paste Expire ( Optional )
"contents": "This is my new paste", // Contents of the Paste ( Required )
}
const multiSection = {
"sections": [{
"name": "Section 1",
"syntax": "autodetect",
"contents": "This is section 1 content!"
},
{
"name": "Section 2",
"syntax": "json",
"contents": `{"message": "Hello World"}`
}
],
"description": "Sample Description",
"name": "A new Paste",
"expire": '1d'
}
const single = await paste.new(singleSection);
const multi = await paste.new(multiSection);
console.log("Single : ", single);
console.log("Multi : ", multi);
// DELETE PASTE
const delete = await paste.delete('PASTE_ID');
console.log("Delete : ", delete);
// GET PASTE
const getpaste = await paste.get('PASTE_ID');
console.log("Your Paste : ", getpaste);
// GET PASTE
const getpaste = await paste.get('PASTE_ID');
console.log("Your Paste : ", getpaste);
// GET PASTE LIST
const allpaste = await paste.getList();
console.log("All Paste : ", allpaste);
// GET SYNTAX
const syntax = await paste.syntax('SYNTAX_ID');
console.log("Syntax : ", syntax);
// GET SYNTAX LIST
const syntaxlist = await paste.syntaxList();
console.log("All Syntax : ", syntaxlist);
| FUNCTION | DETAIL | PARAMETER |
|---|---|---|
| new() | Creating a new Paste | data (Required) |
| delete() | delete a paste | id (Required) |
| get() | Get data of your paste | id (Required) |
| getList() | Get list of your paste | display , page (Optional) |
| syntax() | Get syntax details | id (Required) |
| syntaxList() | Get list of all Syntax |
FAQs
A basic library for interacting with Paste.ee API
The npm package api-paste.ee receives a total of 1 weekly downloads. As such, api-paste.ee popularity was classified as not popular.
We found that api-paste.ee demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.