The Pulsar Node.js client can be used to create Pulsar producers and consumers in Node.js.
This Node.js client is developed and tested using Apache Pulsar 2.3.0
Pulsar Node.js client library is based on the C++ client library. Follow the instructions for C++ library for installing the binaries through RPM, Deb or Homebrew packages.
Also, this library works only in Node.js 10.x or later because it uses the node-addon-api module to wrap the C++ library.
$ git clone https://github.com/apache/pulsar-client-node.git
$ cd pulsar-client-node
$ npm install
$ npm run build