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 🙏

© 2026 – Pkg Stats / Ryan Hefner

kate-sleep

v0.0.11

Published

Help Kate Sleep

Readme

kate-sleep-npm

Help kate sleep

Zzz

For it to work install in the powercord dir

Status

.github/workflows/npm-publish2.yml

Test it

Click Me

PR

If you do a pr please update the package version ty!

Docs

If making a pr to update docs put below this line I have to update it by hand#

Installation

In your node project just do npm i kate-sleep and all set to start helping Kate sleep!

Kate

When importing Kate (require('kate-sleep')) It will return a some useful functions to get Kate sleeping/awake and more!.

Sleep

This is a Function that will put Kate to sleep. It accepts 1 parameter which is a Object.

const kate = require('kate-sleep');
kate.sleep();

In the 1 paramter that is a Object can be composed of 2 values.

stuffedAnimals a Array or String, we offer 5 stuffed animal which is Baby Fox, Moose, Frog, Dog, Wolf but you can use your own stuffed animals.

cozyBed is a Boolean, this will determine if Kate sleeps in a cozy bed or not.

const kate = require('kate-sleep');
kate.sleep({ stuffedAnimals: ['Baby Fox', 'Dog'], cozyBed: true });

Wake

This is a Function that will wake up Kate.

const kate = require('kate-sleep');
kate.wake();

Meth

This is a function for Kate to have a little fun. This accepts 1 parameter which is a Object.

const kate = require('kate-sleep');
kate.meth();

quality a String that should be one of the following: "high", "average", "low". The quality of meth.

amount a String that should be one of the following: "huge", "normal", "small". Amount of meth.

sharedWith sometimes Kate just want to do some meth with friends. A String that should be one of the following: "Cynthia", "Ben", "Alice", "Joakim", "Emma", "Aetheryx", "Everyone", "Baby Fox"

const kate = require('kate-sleep');
kate.meth({ quality: 'average', amount: 'huge', sharedWith: 'Everyone' });

Sleepover

This is a Function for Kate and friends to have a sleepover.

const kate = require('kate-sleep');
kate.sleepover({ invited: 'Olykir' });

This Function accepts 1 parameter that is a Object they are:

invited This can be a Array or String. This will send a message to who is invited to come over for a sleepover. So far we offer "Cynthia", "Ben", "Alice", "Joakim", "Emma", "Aetheryx", "Olykir" to be invited but you can invited anyone to have a sleepover with Kate.

cozyBeds This is a Boolean. This will determine if Kate and friends sleep in cozy beds

const kate = require('kate-sleep');
kate.sleepover({ invited: ['Cynthia', 'Ben', 'Alice', 'Joakim', 'Emma', 'Aetheryx', 'Olykir'], cozyBeds: true });

isSleeping

This is a proprety and will return a boolean. Will return if Kate is sleeping.

const kate = require('kate-sleep');

if (!kate.isSleeping) {
  kate.sleep();
}

isCozy

This is a proprety and will return a boolean. Will return if Kate is cozy.

const kate = require('kate-sleep');

kate.sleep();

if (kate.isSleeping && !kate.isCozy) {
  kate.wake();
  kate.sleep({ cozyBed: true });
}

Say

This is a async function that will send say something to kate!

const kate = require('kate-sleep');

async function say(text) {
  await kate.say(text)
}

say('hello')

Color

This is a async function that will display a color on kates screen!

const kate = require('kate-sleep');

async function color(color) {
  await kate.color(color)
}

color('hello')