🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

nameinfo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nameinfo

A command-line tool to get information about names, including meaning, origin, gender, age, and nationality predictions

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

nameinfo

A command-line tool to get information about names, including meaning, origin, gender, age, and nationality predictions.

Features

  • Get name meanings from multiple sources:
    • Local database with over 200 names from various cultures
    • BehindTheName API
    • Web scraping from various sources
  • Get demographic predictions:
    • Nationality prediction (from nationalize.io)
    • Gender prediction (from genderize.io)
    • Age prediction (from agify.io)
  • Colorful command-line interface
  • Offline mode option

Installation

Global Installation

npm install -g nameinfo

Using with npx

npx nameinfo <name>

Usage

nameinfo <name> [options]

Options

  • --web-only: Skip local database and only use web scraping
  • --offline: Use only local database (no web requests)
  • -h, --help: Display help information
  • -V, --version: Display version number

Examples

# Basic usage
nameinfo john

# Skip local database and only use web scraping
nameinfo emma --web-only

# Use only local database (no web requests)
nameinfo michael --offline

Output Example

Information for "Emma"

Name Meaning:
Meaning: Universal, whole
Origin: Germanic
Source: Local database

Nationality Prediction:
1. GB (29.23%)
2. US (15.98%)
3. AU (8.75%)

Gender Prediction:
Gender: female (99.94% probability)

Age Prediction:
Average age: 58 (based on 294983 samples)

Supported Names

The local database includes over 200 names from various cultures, including:

  • Turkish names
  • English names
  • Spanish names
  • French names
  • German names
  • Italian names
  • Scandinavian names
  • Japanese names
  • Chinese names
  • Arabic names
  • Indian names

API Sources

  • BehindTheName API - For name meanings
  • Nationalize.io - For nationality predictions
  • Genderize.io - For gender predictions
  • Agify.io - For age predictions

Web Scraping Sources

  • behindthename.com
  • isimlersozlugu.com.tr
  • rehberim.gen.tr
  • ismimizne.com
  • turkishnameinfo.com

License

MIT

Author

Eser Sarıyar

Keywords

name

FAQs

Package last updated on 08 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts