metaphone-ptbr
TypeScript icon, indicating that this package has built-in type declarations

1.0.15 • Public • Published

metaphone-ptbr@1.0.13

Algoritmo de Metaphone para a língua portuguesa praticada no Brasil, agradecimentos para @cjordao que escreveu o metaphone-ptbr em C. Utilizado em muitas aplicações Python PostgreSQL e PHP, agora também Node. 😍

TL;DR

const metaphone = require('metaphone-ptbr');
console.log(metaphone('Casas Bahia')); // KZSB

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install metaphone-ptbr --save

This package is provided in these module formats:

  • CommonJS

Dependencies

  • diacritics: remove diacritics from strings
  • nan: Native Abstractions for Node.js: C++ header for Node 0.8 -> 11 compatibility
  • node-gyp: Node.js native addon build tool
  • por-extenso: Brazilian Portuguese numbers in full

Dev Dependencies

License

MIT

/metaphone-ptbr/

    Package Sidebar

    Install

    npm i metaphone-ptbr

    Weekly Downloads

    38

    Version

    1.0.15

    License

    MIT

    Unpacked Size

    21.9 kB

    Total Files

    15

    Last publish

    Collaborators

    • lfamorim