JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q31795F
  • License MIT

A ported haskell library for syllabification of words in Portuguese

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

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