npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@zerotwobot/decca-api

v1.1.0

Published

decca api wrapper. modified by the team at cstudios

Readme

decca-api-wrapper

A wrapper for the decca api to make interaction with it easier.

Installation

$ npm install decca-api

Usage

Javascript:

    const { Api } = require("decca-api");

    const api = new Api("super-secret-token");

    api.drip("https://decc00n.tk/images/pfp.png")
        .then(res => console.log(res));

Typescript imports:

    import { Api } from "decca-api";

    const api = new Api("super-secret-token");

    api.drip("https://decc00n.tk/images/pfp.png")
        .then(res => console.log(res));

Don't forget to .catch errors!

To get your api key, drop a visit at: https://docs.api.decc00n.tk/authorization

Table of Contents

  1. Canvas
  2. String
  3. Extra
  4. Discord

Canvas

String

Extra

Discord

Drip

Generates a drip image

    let dripImage;
    api.drip("https://decc00n.tk/images/pfp.png")
    .then(res => dripImage = res);

Bonk

Generates a bonk image

    let bonkImage;
    api.bonk("https://decc00n.tk/images/pfp.png")
    .then(res => bonkImage = res);

Brain

Generates a big brain image

    let brainImage;
    api.brain("https://decc00n.tk/images/pfp.png")
    .then(res => brainImage = res);

MakeMeme

Generates a meme image with/without borders and top text and bottom text

    let memeImage;
    api.makeMeme("https://decc00n.tk/images/pfp.png", "me when", "your girl when", 1)
    .then(res => memeImage = res);

Bright

Brighten an image

    let brightImage;
    api.bright("https://decc00n.tk/images/pfp.png", 1)
    .then(res => brightImage = res);

Contrast

Add contrast to an image

    let contrastImage;
    api.contrast("https://decc00n.tk/images/pfp.png", 1)
    .then(res => contrastImage = res);

Invert

Invert an image

    let invertedImage;
    api.invert("https://decc00n.tk/images/pfp.png")
    .then(res => invertedImage = res);

Circle

Circle an image's borders

    let circleImage;
    api.circle("https://decc00n.tk/images/pfp.png")
    .then(res => circleImage = res);

Sankee

Yankeefy an image

    let yankeeImage;
    api.yankee("https://decc00n.tk/images/pfp.png")
    .then(res => yankeeImage = res);

Sus

Sussify an image

    let susImage;
    api.sus("https://decc00n.tk/images/pfp.png")
    .then(res => susImage = res);

Pixel

Pixelate an image

    let pixelImage;
    api.pixel("https://decc00n.tk/images/pfp.png")
    .then(res => pixelImage = res);

Ping

Add ping icon to an image

    let pingImage;
    api.ping("https://decc00n.tk/images/pfp.png")
    .then(res => pingImage = res);

Gun

Gunify an image

    let gunImage;
    api.gun("https://decc00n.tk/images/pfp.png")
    .then(res => gunImage = res);

AfVsAe

Generates an average fan vs average enjoyer image using your text

    let afvsaeImage;
    api.afvsae("average api wrapper user", "average raw api enjoyer")
    .then(res => afvsaeImage = res);

Reverse

Reverse a string

    let reversedString;
    api.reverse("decc00n")
    .then(res => reversedString = res);

Mock

Mock a string

    let mockedString;
    api.mock("decc00n")
    .then(res => mockedString = res);

randomID

Generates a 14 characters long random ID

    let id;
    api.randomid()
    .then(res => id = res);

Trivia

Generates a random trivia question

    let trivia;
    api.trivia()
    .then(res => trivia = res)

Ftl

Generates a random finish the lyrics question

    let ftl;
    api.ftl()
    .then(res => ftl = res)

Welcome

Generates a discord welcome card

    let card;
    api.welcome("https://cdn.discordapp.com/emojis/778554329975750656.png", "welcome!", "to our lit server", "https://cdn.discordapp.com/avatars/589044704708919316/af2f2a94f8e538ab4f9c33c231f0d1af.png", "decc00n", "white")
    .then(res => card = res)

Xp

Generates a discord xp card

    let card;
    api.xpCard("https://cdn.discordapp.com/emojis/778554329975750656.png", "https://cdn.discordapp.com/avatars/589044704708919316/af2f2a94f8e538ab4f9c33c231f0d1af.png", 1, 69, "decc00n", "6684", 420, 666)
    .then(res => card = res)