gtfs-rt-bindings
Version:
Parse and serialize GTFS Realtime data encoded as protocol buffers.
47 lines (46 loc) • 1.28 kB
JSON
{
"name": "gtfs-rt-bindings",
"description": "Parse and serialize GTFS Realtime data encoded as protocol buffers.",
"version": "4.7.0",
"main": "index.js",
"files": [
"index.js",
"gtfs-realtime.proto",
"gtfs-realtime.schema.json",
"gtfs-realtime.pbf.js",
"example.js"
],
"keywords": [
"gtfs realtime",
"gtfs rt",
"transit",
"public transport",
"realtime",
"parse",
"serialize"
],
"author": "Jannis R <mail@jannisr.de>",
"homepage": "https://github.com/derhuerst/gtfs-rt-bindings",
"repository": "derhuerst/gtfs-rt-bindings",
"bugs": "https://github.com/derhuerst/gtfs-rt-bindings/issues",
"license": "ISC",
"engines": {
"node": ">=14"
},
"dependencies": {
"protobufjs": "^7.1.0"
},
"devDependencies": {
"protobufjs-cli": "^1.0.1",
"tap-min": "^2.0.0",
"tape": "^5.0.0"
},
"scripts": {
"copy": "cp google-transit/gtfs-realtime/proto/gtfs-realtime.proto gtfs-realtime.proto",
"compile": "pbjs gtfs-realtime.proto -t static-module -w commonjs --keep-case --force-number -o gtfs-realtime.pbf.js",
"schema": "pbjs gtfs-realtime.proto -t json -o gtfs-realtime.schema.json",
"build": "npm run copy && npm run compile && npm run schema",
"test": "node test.js | tap-min",
"prepublishOnly": "npm run build && npm test"
}
}