syllable-pt
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

syllable@1.0.4

npm version dependency status devDependency status

A ported haskell library for syllabification of words in Portuguese.

Credits to jjunho/Syllable for Haskell version. I see no reason to fully write in JavaScript for now.

TL;DR

const syllable = require('syllable-pt');
 
script('não');
// não
script('deixei');
// dei xei
script('açaí');
// a ça í
script('piauí');
// pi au í

Installation

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

npm install syllable --save

This package is provided in these module formats:

  • CommonJS

Dependencies

None

Dev Dependencies

  • jest: Delightful JavaScript Testing.
  • uglify-js: JavaScript parser, mangler/compressor and beautifier toolkit

License

MIT

Package Sidebar

Install

npm i syllable-pt

Weekly Downloads

11

Version

1.0.4

License

MIT

Unpacked Size

2.19 MB

Total Files

11

Last publish

Collaborators

  • lfamorim