Words Ninja2019
NPM Package.
Split text without spaces into a list of words in JavaScript
For my recent project, I need a trick to split strings contain English words to separate words. My stack is Node.js and no packages have been developed for my need.
For example, I need this string “youneedtolearnfromyourmistakes”
split to words “You Need To Learn From Your Mistakes”
.
For this reason, I began searching for the development of a package for my need. And finally, with some open source project, I develop a package for split strings to words. The package called “wordsninja” has been released.
Install
Install with npm
npm install wordsninja --save