Package Exports
- syllable-pt
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (syllable-pt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
syllable@1.0.4
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 --saveThis 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