1.0.7 • Published 3 years ago

isa-know-name v1.0.7

Weekly downloads
60
License
MIT
Repository
github
Last release
3 years ago

isa-know-name

A simple validation to check if a string is a know first name.

At this point the main function just compares an input string with a json list loaded by the function. Currently with 7000+ know names.

The focus of this project are build and upload a simple NPM Package, for studies pruporses.

Instalation:

npm install isa-know-name 

In code usage example:

const isa = require('is-know-name');

To check if string/array contains a know name:

Returns a boolean value (true or false)

const result = isa.check('string or array here')

To filter the string/input

Returns a new array with only know names

const result = isa.filter('string or array here')

\ \ \ \ \

To add names to the package edit the data.json located in root of this package.

https://www.npmjs.com/package/isa-know-name

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago