scws is an opensource lightweight Chinese segments system.
This library is written in C code, you can find apis here.
Node-scws is a wrapper for this library and is written in an async way.
Make sure you have scws library in your mac, and have the lib, include files correct in the system PATH.
For install scws , see this site for more details.