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

multi-language-slangs

v1.0.0

Published

Add fun to your conversations with this slang generator, offering playful slangs in multiple languages for you and your friends!

Readme

🌍 Multi-Language Slangs 🗣️

npm Downloads License

Hindi: शब्दों का खजाना, भाषाओं का ठिकाना ✨
Punjabi: ਬੋਲੀਆਂ ਦਾ ਪਿਟਾਰਾ, ਮਜ਼ੇਦਾਰ ਨਜ਼ਾਰਾ 🎭
Bengali: শব্দের মেলা, আনন্দের খেলা 🎪
Haryanvi: म्हारी भाषा म्हारा गौरव, शब्दां का ये सौरव 🌟

📚 Overview

Multi-Language Slangs is a vibrant package that brings the colorful world of slang expressions to your applications! With support for 15 different languages including English, Hindi, Punjabi, Bengali, French, Spanish, German, Italian, Japanese, Chinese, Russian, Arabic, Bhojpuri, Haryanvi, and Awadhi, this package lets you add cultural flavor and fun to your conversations.

✨ Features

  • 🌐 15 Languages: Access slangs from around the world
  • 🎲 Random Generation: Get random slangs with a simple function call
  • 🔢 Quantity Control: Request exactly how many slangs you need
  • 🧩 Easy Integration: Simple API that works with any JavaScript project
  • 🚀 Zero Dependencies: Lightweight and efficient

🛠️ Installation

# Using npm
npm install multi-language-slangs

# Using yarn
yarn add multi-language-slangs

# Using pnpm
pnpm add multi-language-slangs

# Using bun
bun add multi-language-slangs

🎮 Usage

Importing the Package

// CommonJS
const { slangs, random, languages } = require('multi-language-slangs');

// ES Modules
import { slangs, random, languages } from 'multi-language-slangs';

🔍 Available Functions

1. languages() - Get All Supported Languages

// Get the list of all supported languages
const supportedLanguages = languages();
console.log(supportedLanguages);
// Output: ['english', 'bengali', 'french', 'spanish', 'german', 'italian', 'japanese', 'chinese', 'russian', 'arabic', 'hindi', 'bhojpuri', 'punjabi', 'haryanvi', 'awadhi']

2. slangs(language, count) - Get Slangs from a Specific Language

// Get one slang from Hindi
console.log(slangs('hindi'));
// Output: ['बेवकूफ']

// Get 3 slangs from Punjabi
console.log(slangs('punjabi', 3));
// Output: ['बेवकूफ', 'मूरख', 'गधा']

// Get all slangs from all languages
console.log(slangs());
// Output: { english: [...], hindi: [...], ... }

3. random(language, count) - Get Random Slangs

// Get a random slang from Haryanvi
console.log(random('haryanvi'));
// Output: ['टिंडर']

// Get 3 random slangs from Bhojpuri
console.log(random('bhojpuri', 3));
// Output: ['अलसिया', 'बेकार', 'बेवकूफवा']

🌈 Examples

Fun Multilingual Slang Generator

const { slangs, random, languages } = require('multi-language-slangs');

// Create a multilingual slang exchange
const languageList = languages();
const randomLanguages = languageList.sort(() => 0.5 - Math.random()).slice(0, 3);

console.log("Today's Slang Exchange:");
randomLanguages.forEach(lang => {
  console.log(`${lang.toUpperCase()}: ${random(lang)}`);
});

Language Learning App

const { slangs } = require('multi-language-slangs');

function createSlangQuiz(language, count = 5) {
  const slangWords = slangs(language, count);
  
  console.log(`🎮 QUIZ TIME: How well do you know ${language.toUpperCase()} slangs?`);
  slangWords.forEach((word, index) => {
    console.log(`${index + 1}. ${word}`);
  });
}

createSlangQuiz('hindi');

🌟 Supported Languages

| Language | Code | |----------|------| | English | english | | Hindi | hindi | | Punjabi | punjabi | | Bengali | bengali | | French | french | | Spanish | spanish | | German | german | | Italian | italian | | Japanese | japanese | | Chinese | chinese | | Russian | russian | | Arabic | arabic | | Bhojpuri | bhojpuri | | Haryanvi | haryanvi | | Awadhi | awadhi |

🤝 Contributing

Contributions are welcome! Feel free to add more languages, improve existing ones, or enhance the functionality.

हिंदी में योगदान, सबका सम्मान 🙏
ਪੰਜਾਬੀ ਵਿੱਚ ਹਿੱਸਾ ਪਾਓ, ਨਵੀਆਂ ਗੱਲਾਂ ਲਿਆਓ 🌱
বাংলায় অবদান রাখুন, নতুন শব্দ যুক্ত করুন 🌷

📜 License

This project is licensed under the ISC License - see the LICENSE file for details.