Simple word wrapping algorith implementation Assuming you have already installed node. To install just run: npm i To run tests: npm test You can find coverage in coverage folder.