
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
A wrapper to use the https://bananapi.ml API which has some fun endpoints
npm install bananapi
You need a key to use this API to get one, we use discordapp to manage users and give out api keys so to apply you need to join our discord server using the link https://discord.gg/3Nxb7yZ and once your in run b.apply command by sending it in chat
const BananAPI = require("bananapi");
const fs = require("fs").promises;
const api = new BananAPI.Client({ token: "Your Token Goes here" });
(async() => {
// Ping API for reponse time
const ping = await api.ping();
console.log(`Pong! ${ping} ms`);
const reversed = await api.reverse("Hello, World!");
console.log(reversed);
const eball = await api.eightball("Some question?");
console.log(`8ball: ${eball.response}, positive: ${eball.isPositive}`);
// Image endpoints
const image = await api.trumptweet("Hello");
await fs.writeFile("./image.png", image);
});
Discord.js example, sending attachments
// Note we required both but you need just one depending on your version
// v11.x.x stable is Attachment
// v12.0.0 dev is MessageAttachment
const { Attachment, MessageAttachment } = require("discord.js");
const image = await api.disabled("something");
message.channel.send(new MessageAttachment(image, "file.png"));
TypeScript typings gets installed by default, you can use it straight with TypeScript and even if you are not the typings gives a nice intellisense code suggestion on editors like Visual Studio Code
Here is an example using TypeScript
import { Client } from "bananapi";
const client: Client = new Client({ token: "my token" });
client.reverse("TypeScript")
.then((reversed: string) => {
console.log(reversed); // => tpircSepyT
});
MIT
FAQs
API wrapper for https://bananapi.ml
We found that bananapi 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.