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

indonesian-names

v1.1.2

Published

Indonesian names generator

Readme

🇮🇩 Indonesian Names

This is an Indonesian names generator.

| Function | Description | Example Output | | --------------- | -------------------------------------------------------- | ---------------- | | fullFemale() | Returns a full name with a female first and last name | "Dewi Cahyani" | | fullMale() | Returns a full name with a male first and last name | "Agus Satrio" | | fullNeutral() | Returns a full name with a neutral first and last name | "Eka Kusuma" | | firstFemale() | Returns a female-associated female first name | "Indri" | | firstMale() | Returns a male-associated male first name | "Budi" | | firstNeutral()| Returns a gender neutral first name | "Dwi" | | lastFemale() | Returns a female-associated last name | "Febriani" | | lastMale() | Returns a male-associated last name | "Prasetyo" | | lastNeutral() | Returns a gender neutral last name | "Lubis" |

🔧 Advanced Usage

For more control, use fullName(), firstName(), or lastName() to generate names with customizable parameters:

// default parameters
fullName(gender = "neutral", cross = false, words = 2, generateMany = 1)
firstName(gender = "neutral", generateMany = 1)
lastName(gender = "neutral", generateMany = 1)
  • gender ("neutral" | "male" | "female"): Specifies the gender style of the first name.
  • cross (true | false): If true, combines a gendered first name with a neutral last name.
  • words (number): Specifies number of words in the names
  • generateMany (number): Specifies number of names generated

Examples

fullName("female", true, 3, 3)  // e.g., [ 'Desi Diah Mahendra', 'Monica Rahayu Rahardian', 'Syifa Lilis Priyanto' ]
fullName("male", false, 4, 2)   // e.g., [ 'Kartono Reza Bagus Marwan', 'Hendro Purwanto Fajar Arfan' ]
firstName("female", 3)          // e.g., [ 'Raisa', 'Kirana', 'Lina' ]
lastName("male", 2)             // e.g., [ 'Harun', 'Suryana' ]

🔍 Tip: fullMale(), fullFemale(), and fullNeutral() are convenient wrappers around fullName(), firstName(), and lastName(), but you can also use generateMany parameter for batch generation, e.g., firstMale(3) or lastFemale(5) to get an array of names.

📦 Installation via NPM

npm i indonesian-names

🛠 Usage

const name = require('indonesian-names');

console.log(name.fullMale());     // e.g., "Agus Satrio"
console.log(name.firstFemale());  // e.g., "Indri"

🔮 Upcoming Features

  • Broader range of Indonesian names
  • Additional formats and region-based names
  • API support
  • Export to JSON or CSV

⚠️ Known Issues

  • Duplicate name generation on generateMany() method