0.0.3 • Published 6 years ago
compound-word v0.0.3
compound-word
Split a compound word into parts. Uses the 0.3 million most common words.
const parse = require('compound-word')
let parts = parse('facebook')
// => ['face', 'book']
parse('underworld')
// => ['under', 'world']