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

scootz.js

v1.0.1

Published

A silly package for aoi.js that registers custom functions you can use.

Readme

scootz.js

A silly package for aoi.js that registers custom functions you can use.

Disclaimer

This package (scootz.js) is not made by official aoi.js developers and so therefore, do not request support for the package in their official support server. Instead, request support for it by going into Github Issues.

Why does this exist?

It originally started as dodoplugins.js which was only made because i got annoyed of having to update multiple custom functions in each bot project i have. This was how the original package was born.

At the time it was made, aoi.js had problems with custom functions in aoi.js type which hindered the development as i did not fully know javascript. I eventually had no choice but to discontinue it since it's been 2 years and nothing was addressed about it.

In the end, it was finally addressed in 2024! So, as part of this, i decided to refresh the package as scootz.js with both new and updated stuff (including easier management of versions published of the package as well).

Setup

  • aoi.js 6.9.0 or later is required.
  • Node.js v20 or later is also required.
// Stable version
npm i scootz.js@latest

// Canary version
npm i https://github.com/ddodogames/scootz.js

// or if you want to use completed pre-release builds
npm i scootz.js@canary

You then load the package with the following

// Define clients
const { Plugins } = require("scootz.js")
const { AoiClient } = require("aoi.js");

// Setup aoi.js first
const client = new AoiClient({
    token: "Discord Bot Token", // Here goes the Token you copied earlier!
    prefix: "Discord Bot Prefix", // Here goes the prefix you want to use for your bot!
    intents: ["MessageContent", "Guilds", "GuildMessages"],
    events: ["onMessage", "onInteractionCreate"],
    database: {
        type: "aoi.db",
        db: require("@aoijs/aoi.db"),
        dbType: "KeyValue",
        tables: ["main"],
        securityKey: "a-32-characters-long-string-here"
    }
});

// Load the package
const plugins = new Plugins({ client: client }); 
plugins.loadPlugins(); 

This will enable all custom functions that were created in the package.

Links

This is Optional, So Check Links at Your own Discretion.

Credits

the source code on how this was setup belongs to Kawaii#7615, thank him/her for the aoi.js plugins tutorial.

  • Kawaii#7615 (i don't remember their username): for the aoi.js plugins tutorial
  • Blur: for helping me on getting this package to work
  • InikoMatthewPro: for publishing the package on npm

Most of these are for the original (now discontinued) package of dodoplugins.js but the first one still applies so.