indo-name-generator
v1.0.2
Published
Generate realistic Indonesian names
Downloads
402
Maintainers
Readme
🇮🇩 Indo Name Generator
Generate realistic Indonesian names with ease.
A lightweight JavaScript package for generating Indonesian names, usernames, and emails.
✨ Features
- 🇮🇩 Random Indonesian full names
- 👨 Male names
- 👩 Female names
- 📝 First names
- 👨👩👧 Last names
- 👤 Username generator
- 📧 Email generator
- ⚡ Zero dependencies
- 🚀 Lightweight & Fast
- 💚 CommonJS Support
- 💙 Node.js Support
📦 Installation
npm install indo-name-generatoror
yarn add indo-name-generator🚀 Usage
const indo = require("indo-name-generator");
console.log(indo.generate());Example Output
Muhammad SaputraGenerate Male Name
const indo = require("indo-name-generator");
console.log(indo.generateMale());Output
Rizky PratamaGenerate Female Name
const indo = require("indo-name-generator");
console.log(indo.generateFemale());Output
Ayu LestariGenerate First Name
indo.firstName()Output
BudiGenerate Last Name
indo.lastName()Output
SaputraGenerate Username
indo.username()Output
rizky8291Generate Email
indo.email()Output
[email protected]Custom domain
indo.email("yahoo.com")Output
[email protected]📚 API
| Function | Description | |-----------|-------------| | generate() | Random Indonesian full name | | generateMale() | Male full name | | generateFemale() | Female full name | | firstName() | Random first name | | lastName() | Random last name | | username() | Random username | | email() | Random email |
Example
const indo = require("indo-name-generator");
console.log(indo.generate());
console.log(indo.generateMale());
console.log(indo.generateFemale());
console.log(indo.username());
console.log(indo.email());Example Output
Ahmad Saputra
Putri Lestari
Muhammad Wijaya
bayu9182
[email protected]Requirements
- Node.js 14+
- npm
Contributing
Contributions are welcome!
Feel free to submit issues and pull requests.
License
MIT © 2026
Author
Made with ❤️ by Pasha
GitHub: https://github.com/pashaba
NPM: https://www.npmjs.com/package/indo-name-generator
