From 95121d34f52986678665ab0259195c6a076072ef Mon Sep 17 00:00:00 2001 From: David Gatti <411114+davidgatti@users.noreply.github.com> Date: Thu, 22 Mar 2018 16:07:36 +0100 Subject: [PATCH 1/2] Added Engines option This way there is no need to mention this in the README --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index ebd6a2f..af3d26e 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "node-onvif", "version": "0.1.3", "description": "The node-onvif is a Node.js module which allows you to communicate with the network camera which supports the ONVIF specifications.", + "engines": { + "node" : ">=4.4" + }, "main": "./lib/node-onvif.js", "files": [ "lib", From 8a02ee1861665e51acc9e2c3c8485287b3f5eb9c Mon Sep 17 00:00:00 2001 From: David Gatti <411114+davidgatti@users.noreply.github.com> Date: Thu, 22 Mar 2018 16:10:42 +0100 Subject: [PATCH 2/2] Removed unnecessary section I removed this because it was confusing. You have the modules in the `package.json` file, and I added the engine section. So now everything is nice and clear. So I hope :) --- README.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index c4ce932..50e26e3 100644 --- a/README.md +++ b/README.md @@ -17,20 +17,10 @@ The node-onvif provides you with the APIs as follows: Besides, the node-onvif provides you with simple APIs that allow you to control ONVIF network cameras easily even if you are not familiar with the ONVIF specifications. -## Dependencies - -- [Node.js](https://nodejs.org/en/) 4.4 + - - Though the node-enocean-utils works on Node 4 for now, it is strongly recommended to use Node 6 or newer. The node-onvif will not support Node 4 in the future. -- [xml2js](https://www.npmjs.com/package/xml2js) 0.4.17 + -- [html](https://www.npmjs.com/package/html) 1.0.0 + (optional) - ## Installation ``` -$ cd ~ -$ npm install xml2js -$ npm install html -$ npm install node-onvif +$ npm install -s node-onvif ``` ## Sample Application