{"id":13658177,"url":"https://github.com/EndaHallahan/syllabificate","last_synced_at":"2025-04-24T08:31:29.178Z","repository":{"id":65511435,"uuid":"141854383","full_name":"EndaHallahan/syllabificate","owner":"EndaHallahan","description":"Syllable and polysyllable counts in Javascript.","archived":false,"fork":false,"pushed_at":"2019-05-28T20:32:39.000Z","size":63,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-15T00:22:25.094Z","etag":null,"topics":["polysyllables","syllable","syllable-count"],"latest_commit_sha":null,"homepage":"https://endahallahan.github.io/syllabificate/syllabificateTester.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EndaHallahan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-22T00:23:36.000Z","updated_at":"2023-03-02T14:45:32.000Z","dependencies_parsed_at":"2023-01-26T18:45:21.322Z","dependency_job_id":null,"html_url":"https://github.com/EndaHallahan/syllabificate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndaHallahan%2Fsyllabificate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndaHallahan%2Fsyllabificate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndaHallahan%2Fsyllabificate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndaHallahan%2Fsyllabificate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EndaHallahan","download_url":"https://codeload.github.com/EndaHallahan/syllabificate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306606,"owners_count":21408927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["polysyllables","syllable","syllable-count"],"created_at":"2024-08-02T05:00:57.136Z","updated_at":"2025-04-24T08:31:28.869Z","avatar_url":"https://github.com/EndaHallahan.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Syllabificate [![Build Status](https://travis-ci.com/EndaHallahan/syllabificate.svg?branch=master)](https://travis-ci.com/EndaHallahan/syllabificate)\n\nSyllable counts and polysyllable counts in Javascript. Try the demo [here!](https://endahallahan.github.io/syllabificate/syllabificateTester.html)\n\nSyllable counts are an important part of calculating many readability metrics, such as the Flesch-Kincaid score and the SMOG grade. Syllabificate was created to facilitate faster and more accurate measurements for these calculations. \n\n*Note: Syllabificate is an English language syllable counter. It may not be accurate in other languages.*\n\n## Installation (Node)\n```npm install syllabificate```\n## Usage\n```javacript\nconst syl = require('syllabificate');\n```\n### countSyllables(*string*)\nReturns the total number of syllables in a string.\n```javascript\nsyl.countSyllables(\"Electric slide.\"); //4\n```\n### countPolys(*string*)\nReturns the total number of polysyllables (words with 3 or more syllables) in a string.\n```javascript\nsyl.countPolys(\"Electric slide.\"); //1\n```\n### countSyllablesAndPolys(*string*)\nReturns both the total number of syllables and the total number of polysyllables as an array: `[syllables, polysyllables]`. This can be useful if you are calculating multiple metrics.\n```javascript\nsyl.countSyllablesAndPolys(\"Electric slide.\"); //[4, 1]\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEndaHallahan%2Fsyllabificate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEndaHallahan%2Fsyllabificate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEndaHallahan%2Fsyllabificate/lists"}