Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sprql/syllabify.js
Split Russian words into syllables (фонетическое деление слова на слоги)
https://github.com/sprql/syllabify.js
Last synced: 24 days ago
JSON representation
Split Russian words into syllables (фонетическое деление слова на слоги)
- Host: GitHub
- URL: https://github.com/sprql/syllabify.js
- Owner: sprql
- License: mit
- Created: 2020-05-16T12:55:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-17T08:47:12.000Z (over 4 years ago)
- Last Synced: 2024-10-28T17:19:28.753Z (about 2 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Syllabify
Split Russian words into syllables (фонетическое деление слова на слоги)
## Install
```
$ npm install syllabify
```## Usage
```js
const syllabify = require('syllabify')
// or
// import syllabify from 'syllabify'syllabify('Вдохновение')
//=> [ 'Вдо', 'хно', 'ве', 'ни', 'е' ]
```## API
### syllabify(word)
#### Parameters
##### word
Type: `string`
A word to syllabify.
#### Return value
Type: `array`
Array of syllables of the word.