NodeJS / ECMAScript should not be hard to implement. However, what data shall we use? icu4c/source/test/... has Grapheme, Word, Line, and Sentence break data. CLDR may have some info, too.