
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
ubuntu-pastebin
Advanced tools
DEPRECATED: Since Ubuntu Pastebin now requires a login, it is no longer possible to send anonymous paste data there. This package will no longer be maintained.
A tiny npm package that allows you to paste data to Ubuntu Pastebin. Please be careful not to overload the site with useless data! Paste.ubuntu.com is intended for use as a short-term exchange of pasted information between parties. All submitted data is considered public information. Submitted data is not guaranteed to be permanent, and may be removed at any time. Please do not set up programs to frequently send large amounts of data to the site!
Install the library by running npm i ubuntu-pastebin.
import {paste} from "ubuntu-pastebin";
paste("this is some content", "my awesome username", "text", "week")
.then(url => console.log(`paste available at: ${url}`));
$ npm install # to install dependencies
$ npm update # to update dependencies
$ npm audit fix # to install security patches
$ npm run lint # to check coding style
$ npm run lint-fix # to automatically fix coding style issues
$ npm run test # to run unit-tests with coverage reports
$ npm run docs # to build detailed jsdoc documentation
$ npm run build # to compile backwards-compatible code using rollup
The library was originally developed for use in the UBports Installer, but it might be useful to other projects. Semantic versioning will ensure API stability for public functions.
Original development by Jan Sprinz. Copyright (C) 2020 UBports Foundation.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
FAQs
Send content to paste.ubuntu.com. Please use responsibly!
The npm package ubuntu-pastebin receives a total of 1 weekly downloads. As such, ubuntu-pastebin popularity was classified as not popular.
We found that ubuntu-pastebin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.