New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

spoondev

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spoondev - npm Package Compare versions

Comparing version 1.3.7 to 1.4.0

index.js

35

package.json
{
"name": "spoondev",
"version": "1.3.7",
"description": "Wrapper oficial - imagenes para interaccion y api",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/index.d.mts",
"default": "./lib/index.mjs"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
}
},
"files": [
"lib"
],
"version": "1.4.0",
"description": "Wrapper oficial de zeew - imagenes para interaccion y api",
"main": "index.js",
"scripts": {
"start": "node index.js",
"build": "tsup"
"start": "node index.js"
},
"dependencies": {
"node-superfetch": "^0.1.10"
},
"author": "Juanppdev",

@@ -34,8 +20,3 @@ "license": "MIT",

"cards para discord"
],
"devDependencies": {
"@types/node": "^20",
"tsup": "latest",
"typescript": "^5.7.3"
}
]
}

@@ -14,27 +14,15 @@ # Bienvenidos a Spoon

```
const Spoon = require("spoondev");
const token = "aqui-va-tu-token"
const Spoon = require('spoondev');
const img = new Zeew.img('tu-token');
const img = new Spoon.Img(token)
const bienvenida = new img.card.bienvenida()
.token(token)
.titulo('Juanppdev')
.colorTit('white')
.colorDesc('black')
.descripcion('Bienvenid@ al servidor')
.avatar(interaction.user.avatarURL({extension: "png"}))
.fondo('https://i.imgur.com/BdosPHw.png');
await wait(4000)
const buffer = await img.card.render(bienvenida);
if (Buffer.isBuffer(buffer)) {
const attachment = new AttachmentBuilder(buffer, { name: 'default.png' });
await interaction.editReply({
files: [attachment],
});
} else {
console.error('Error: El recurso generado no es un buffer válido.');
}
const card = new img.card
.bienvenida()
.token('to-token')
.avatar('tu-avatar')
.fondo('tu-fondo')
.titulo('Bienvenido al servidor')
.descripcion('Juanppdev');
const render = await img.card.render(card);
```

@@ -41,0 +29,0 @@

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