
Security News
upm Launches as a Fast, Tiny Package Manager Written in TypeScript
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.
To install this package, you can use one of the following commands, depending on your package manager.
npm install crossbuild
pnpm add crossbuild
yarn add crossbuild
If you are connecting your bot to Discord, you will likely need Discord.js as well.
npm install discord.js
If you are connecting your bot to Guilded, you will likely need Guilded.js as well.
npm install guilded.js
CrossBuild is a library that allows you to build bots for Discord and Guilded, at the same time. It is designed to be as simple as possible, while still being powerful. Here is a simple example of a CrossBuild bot in Typescript:
// src/index.ts
import { CrossBuild } from "crossbuild"
new CrossBuild({
name: "Test Bot",
componentPaths: ["/src/components"],
discordOptions: {
intents: ["Guilds", "GuildMessages", "MessageContent"]
},
guildedOptions: {
token: process.env.GUILDED_TOKEN
},
discordToken: process.env.DISCORD_TOKEN,
prefix: "-"
})
// src/components/ping.ts
import { Component, CrossBuild, ReceivedInteraction } from "crossbuild"
export default class Cmd extends Component {
constructor(client: CrossBuild) {
super("ping", "command", client, {
description: "Ping!"
})
}
public override async run(interaction: ReceivedInteraction) {
await interaction.reply({
content: `Pong`
})
}
}
If you want to contribute to CrossBuild, please read the contributing guidelines first. We welcome all types of contributions, from bug fixes to documentation improvements! If you have any questions, feel free to join our Discord server and ask in the #crossbuild channel.
CrossBuild is licensed under the MIT License.
FAQs
A powerful framework to create cross-platform Discord and Guilded bots
The npm package crossbuild receives a total of 5 weekly downloads. As such, crossbuild popularity was classified as not popular.
We found that crossbuild 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.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.