It is a Javascript library that parses Turkish words to syllables.
npm install --save syllable-parser
const SyllableParser = require("syllable-parser");
const syllableParser = new SyllableParser("TR");
console.log(syllableParser.parse("selam"));
// Output: ["se","lam"]
You can extract number of syllables.
const SyllableParser = require("syllable-parser");
const syllableParser = new SyllableParser("TR");
console.log(syllableParser.getSyllableCount("selam"));
// Output: 2
Total: 15
15 success
Ender CAN
Open sourced under the Apache-2.0 LICENSE.