From 291803c31f829fe0d32bb3207bc11def95a7408c Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 20:05:50 +0100 Subject: Urađena test aplikacija. Povezan front i back. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../node_modules/npm-install-checks/README.md | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sandbox/testAppNevena/Front/node_modules/npm-install-checks/README.md (limited to 'sandbox/testAppNevena/Front/node_modules/npm-install-checks/README.md') diff --git a/sandbox/testAppNevena/Front/node_modules/npm-install-checks/README.md b/sandbox/testAppNevena/Front/node_modules/npm-install-checks/README.md new file mode 100644 index 00000000..e83356c1 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/npm-install-checks/README.md @@ -0,0 +1,27 @@ +# npm-install-checks + +Check the engines and platform fields in package.json + +## API + +Both functions will throw an error if the check fails, or return +`undefined` if everything is ok. + +Errors have a `required` and `current` fields. + +### .checkEngine(pkg, npmVer, nodeVer, force = false) + +Check if node/npm version is supported by the package. If it isn't +supported, an error is thrown. + +`force` argument will override the node version check, but not the npm +version check, as this typically would indicate that the current version of +npm is unable to install the package properly for some reason. + +Error code: 'EBADENGINE' + +### .checkPlatform(pkg, force) + +Check if OS/Arch is supported by the package. + +Error code: 'EBADPLATFORM' -- cgit v1.2.3