node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



This program communicates with the serialport using the It is possible to communicate with one serialport in one name. Therefore, use multiple in browser, it is possible to communicate with multiple serialport. Browser's program is refer to jquery.sp_connector.js.


 npm install sp-socket

Please refer to serialport install.

How to use

var sp_socket = require('sp-socket');
var sp = new sp_socket(listen_port, socket_name, max_socket, socket_options);
  •'s listen port.

  •'s name

  • socket_name0 ... socket_nameX (X = max_socket - 1)

  • Please refer to Also this program's 'log level' equal's 'log level'.