23 lines
656 B
Markdown
23 lines
656 B
Markdown
# Soundex
|
|
[](https://npmjs.com/soundex-phonetics)
|
|
[](https://npmjs.com/soundex-phonetics)
|
|
[](https://travis-ci.org/jhermsmeier/node-soundex-phonetics)
|
|
|
|
## Install via [npm](https://npmjs.com)
|
|
|
|
```sh
|
|
$ npm install soundex-phonetics
|
|
```
|
|
|
|
## Usage
|
|
|
|
```js
|
|
var soundex = require( 'soundex-phonetics' )
|
|
```
|
|
|
|
```js
|
|
if( soundex( 'Ekzampul' ) === soundex( 'Example' ) ) {
|
|
// It sounds similar!
|
|
}
|
|
```
|