GitHub repository: mormahr/linebreak
Description: A JS implementation of the Unicode Line Breaking Algorithm (UAX #14)