You should generally only do this when the GTFS Realtime spec changes. This process will also create relevant bindings for any .proto
protocol buffer spec if you replace the gtfs-realtime.proto
file.
Make sure you have all dependencies installed
npm install
Regenerate the language binding source from gtfs-realtime.proto
npm build
Update the version number in package.json
{
"version": "0.5.1"
}
Publish the package to NPM:
npm publish