Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nomsy-paste

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nomsy-paste - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "nomsy-paste",
"version": "1.0.0",
"version": "1.0.1",
"description": "A link generator for paste.nomsy.net (a hastebin alternative, because hastebin is being weird)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,13 +0,13 @@

# hastebin-generator
A npm module for generating hastebin links.
https://www.npmjs.com/package/hastebin-generator
# nomsy-paste
A link generator for https://paste.nomsy.net (a hastebin alternative, because hastebin is being weird)
https://www.npmjs.com/package/nomsy-paste
## Installation
`npm i hastebin-generator`
`npm i nomsy-paste`
## Examples
```js
const h = require('./index');
const h = require('nomsy-paste');
h('code', 'js').then(r => {
console.log(r); //https://hastebin.com/ifuzovakeg.js
console.log(r);
}).catch(console.error);

@@ -17,4 +17,3 @@ ```

```js
require('hastebin-generator')(require('fs').readFileSync(__filename), 'js').then(r => console.log(r))
//https://hastebin.com/qoziyevubu.js
require('nomsy-paste')(require('fs').readFileSync(__filename), 'js').then(r => console.log(r))
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc