Consider using [retext-pos](https://github.com/wooorm/retext-pos) instead of pos-js. This would yield the following benefits: - Actively maintained - Tap into the `retext` eco system for further functionality