问题描述
通过GTFS实时阅读,我碰到这些code样品,用的。
Reading through the GTFS-Realtime, I came across these code samples, with Javascript in the list.
该GTFS实时绑定模块恰好正确读取gtfs.zip文件,并适当地间preT他们。
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?
推荐答案
的 GTFS实时绑定的可作为节点模块,你可以在同一个项目中使用的NodeJS和angularjs,请参阅即的 < - 漂亮
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
在此线程是一个普遍的方式如何,包括在角节点模块(提取的JavaScript或 browserify )的
In this thread is a general way how to include node modules in angular (extract the javascript or browserify): Using node module in angularjs?
这篇关于GTFS实时绑定在angularjs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!