安装节点休息客户端

时间:2017-10-22 09:37:40

标签: javascript node.js rest

我收到此错误:

 var Client = require('node-rest-client').Client; //Uncaught ReferenceError: require is not defined

我试图根据https://www.npmjs.com/package/node-rest-client安装它,但我不了解安装部分

如何安装?我正在尝试运行此https://github.com/flightaware/flightxml3_examples/tree/master/javascript/rest/node

0 个答案:

没有答案