Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-probably-american-name

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-probably-american-name

Check a string against a database of American names.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Is Probably American Name

Check a string against a database of American first names.

⚠️ Be careful about using this package in the browser. The database it checks against is a 67 MB JSON file.

Install

$ npm install is-probably-american-name --save

Usage

const isName = require('is-probably-american-name')

isName('ada') // => true
isName('analytical engine') // => false

Limitations

First names only

This package only works for first names.

const isName = require('is-probably-american-name')
isName('ada lovelace') // => false

International names

This packages uses a database of American names from 1880 to 2016. As such, it includes a number of names from around the world, but it's far from perfect. Here's how it performs against a small sample of actual names:

NameRecognized?
Fela
Vineet
Khaled
Yuriko
Lingman
Azami
Weiwen
Rajeswari

Created By

  • Thomas Bailey

Keywords

FAQs

Package last updated on 18 Sep 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc