4 Home
AlCalzone edited this page 2019-08-23 15:33:40 +02:00

node-zwave-js was started as an attempt to bring a spec compliant Z-Wave driver to the Node.js world but without the hassle of having to recompile it whenever there is a major version upgrade. The only native dependency is node-serialport. This means that node-zwave-js works on every Node.js version that is supported by node-serialport (currently >= 8.6.0). node-zwave-js is still under heavy development. If you are looking for a more mature solution, try OpenZWave.

For the following explanations it is assumed that you are familiar with async/await and import syntax. This library may still be used with Promise syntax and require, but the syntax changes slightly. For method signatures, the type annotation syntax from TypeScript is used.

It is recommended to either use TypeScript when consuming the library or work in an IDE that understands TypeScript definitions (like VSCode).