There are several Modbus TCP libraries available on npm. We created a GitHub repository that uses a few of the libraries and mentions a few other interesting Modbus libraries called node-modbus_library_testing.
Search for more Modbus related modules on npm.
Run the following commands:
Look at the project's README.md file for more details.