syllables

1.0.0 • Public • Published

Syllables Build Status

Install

$ npm install syllables

Usage

const syllables = require('syllables');
 
syllables('Hello');
//=> 2
 
syllables('Hi, how are you?');
//=> 4
 
syllables('sjhljhah aiuoihdal ijiajl');
//=> 0

API

syllables(str)

str

Type: string

Word or sentence to count syllables of. Unrecognised words will have a syllable count of 0.

Package Sidebar

Install

npm i syllables

Weekly Downloads

189

Version

1.0.0

License

MIT

Unpacked Size

2.71 kB

Total Files

4

Last publish

Collaborators

  • f-a-r-a-z