Socket
Book a DemoInstallSign in
Socket

@sodiumlabs/plume-url

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sodiumlabs/plume-url

The official Plume URL wrapper

1.0.6
latest
Source
npmnpm
Version published
Weekly downloads
13
44.44%
Maintainers
1
Weekly downloads
 
Created
Source

Plume URL.js


Discord server npm version npm downloads Last commit

About

@sodiumlabs/plume-url is a module that allows you to easily use Plume URL.

Installation

npm install @sodiumlabs/plume-url

Examples

If you are developing a Discord bot using discord.js, here is how to use Plume URL:

const { Client } = require("discord.js");
const { PlumeURL } = require("@sodiumlabs/plume-url");

// Your discord.js client
const client = new Client({
    /* ... */
});

// Attach PlumeURL to your client
client.plumeURL = new PlumeURL({ apiKey: "YOUR-API-KEY" });

You can now use Plume URL anywhere in your bot.
For example, in a slash command:

const userId = "619838036846575617";

// Create a new URL
const data = await client.plumeURL.createURL({
    url: "https://google.com",
    customId: userId, // The custom ID allows your users to retrieve their URLs later
});
console.log(data);

// Search for the URLs you created
// You can filter by custom ID if needed
const urls = await client.plumeURL.search({ limit: 5, customId: userId });
console.log(urls);

Documentation

Plume URL provides two main resources for documentation:

  • API Reference:
    Plume URL Documentation
    This documentation covers all available endpoints, types, and detailed comments for the API.

  • Module Reference:
    Module Documentation
    This documentation explains how to use the @sodiumlabs/plume-url npm package, with all available methods and types.

For most use cases, you'll want to refer to the PlumeURL class page, which lists all available methods for interacting with the API through this module.

Help

If you don't understand something in the documentation, are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Discord Server.

Keywords

api

FAQs

Package last updated on 03 Jul 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.