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 🙏

© 2024 – Pkg Stats / Ryan Hefner

amongsus

v1.0.0

Published

All related to among us.

Downloads

14

Readme

Amongsus

Amongsus is a npm all related to among us.

const amongsus = require('amongsus');

Description: print some text to terminal.

amongsus.print(`Amongsus npm`);

Output: Amongsus npm

Sussify

Usage:

let text = amongsus.sussify('Your text here', type); 
// First input must be a string which is the text you want to sussify. 
// Second input must be a number between 1-4, which is the type of sussify.

Examples:

Type 1

Description: adding 'sus' to the end of each word.

const amongsus = require('amongsus');

let text = amongsus.sussify('I play among us but I am not sus or imposter!', 1);
amongsus.print(text);

Output: Isus playsus amongsus ussus butsus Isus amsus notsus sussus orsus impostersus

Type 2

Description: replacing every 's' to 'sus'.

let text = amongsus.sussify('I play among us but I am not sus or imposter!', 2);

Output: I play among usus but I am not sususus or imposuster

Type 3

Description: adding 'ඞ ' to the end of each word.

let text = amongsus.sussify('I play among us but I am not sus or imposter!', 3);

Output: Iඞ playඞ amongඞ usඞ butඞ Iඞ amඞ notඞ susඞ orඞ imposterඞ

Type 4

Description: adding ' ඞ' to the end of each word.

let text = amongsus.sussify('I play among us but I am not sus or imposter!', 4);

Output: I ඞ play ඞ among ඞ us ඞ but ඞ I ඞ am ඞ not ඞ sus ඞ or ඞ imposter ඞ

Sus Checker

This function checks if your word/sentence is sus

Examples:

amongsus.susCheck('Do you want to eat sushi?')

Output: true

amongsus.susCheck('Hello world!')

Output: false

Random Sus image

This function returns buffer of random sus image

Usage:

amongsus.random()

Output: <Buffer 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 e0 00 00 02 83 08 06 00 00 00 c2 5c d9 fc 00 00 00 06 62 4b 47 44 00 ff 00 ff 00 ff a0 bd a7 ... 32010 more bytes>

Sus image

You need to input a color from the color preset provided below or any hex color code in the function and it will returns buffer of sus image

Color presets

black, blue, brown, cyan, green, lime, pink, purple, white, yellow These are color presets you can input in the function If you want other color, you can input any hex color code. To get hex color code, you can use the color picker in here and copy it.

Usage:

amongsus.image(color).then(function(result) {
    amongsus.print(result)
})

Examples:

amongsus.image('red').then(function(result) {
    amongsus.print(result)
})
amongsus.image('#4287f5').then(function(result) {
    amongsus.print(result)
})

Example - How can I get link of sus image?

If you want to get the link of sus image, you can use the imgur-uploader npm to upload the sus image

const amongsus = require('amongsus')
const imgurUploader = require('imgur-uploader')

const random = amongsus.random()

imgurUploader(random, {title: 'Amongsus!'}).then(data => {  // upload the image to imgur
    console.log(data.link); // get the link and print in console
});

amongsus.image('#4287f5').then(function(result) { // create an sus image with custom color
    imgurUploader(result, {title: 'Amongsus!'}).then(data => {  // upload the image to imgur
        console.log(data.link); // get the link and print in console
    });
})

Support & Report problems

If you find any problems for the npm or need any help, you can contact me Nathaniel VFX#8080 on Discord