gtfs-realtime-bindings in angularjs

2019-09-10 17:09发布

Reading through the GTFS-Realtime, I came across these code samples, with Javascript in the list.

The gtfs-realtime-bindings module happens to read gtfs.zip files properly and interpret them appropriately.

I want to use the package in my angular project. How can I?

1条回答
可以哭但决不认输i
2楼-- · 2019-09-10 17:15

gtfs-realtime-bindings is available as node module and you can use nodejs and angularjs in the same project, see i.e. https://scotch.io/tutorials/creating-a-single-page-todo-app-with-node-and-angular <- nice

In this thread is a general way how to include node modules in angular (extract the javascript or browserify): Using node module in angularjs?

https://angularjs.de/artikel/angularjs-browserify

查看更多
登录 后发表回答