Yes, PubNub is distributed as an NPM package here: https://npmjs.org/package/pubnub

Visit the official PubNub Node SDK docs for more details.