
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.
CLI tool that uploads text to hastebin. (Basically a Node.js version of haste-client)
To install this package globally using NPM, run:
npm install -g hastebin
To try this package out before you install, try npx hastebin.
To install this package locally, try npm i hastebin. You can then access the hastebin client via NPM scripts.
$ hastebin --help
Usage: <other-command> | hastebin
or: hastebin [file]
Examples:
echo "Hello" | hastebin upload text from stdin
hastebin text.txt upload text from a file
Options:
-r, --raw Output the link to the raw text
-h, --help Show help
$ echo "hi" | hastebin
http://hastebin.com/ilitixevat
var hastebin = require('hastebin')
hastebin.createPaste('content for your paste', {
raw: true,
contentType: 'text/plain',
server: 'https://hastebin.com'
}, /* options for the 'got' module here */ {})
.then(function (urlToPaste) {})
.catch(function (requestError) {})
By default, hastebin will point to http://hastebin.com. You can set the HASTE_SERVER environment variable to configure this.
alias work_haste="HASTE_SERVER=http://something.com haste"
To compile the source just run npm run build.
This module is licensed under the MIT license.
FAQs
CLI tool that uploads text to hastebin
The npm package hastebin receives a total of 79 weekly downloads. As such, hastebin popularity was classified as not popular.
We found that hastebin 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.