User Tools

Site Tools


node.js

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
node.js [2020/12/27 20:35] – external edit 127.0.0.1node.js [2023/08/30 11:25] (current) skipidar
Line 57: Line 57:
     console.log(result);     console.log(result);
 }); });
 +</code>
 +
 +
 +
 +===== npx =====
 +
 +https://www.freecodecamp.org/news/npm-vs-npx-whats-the-difference/
 +
 +
 +Sometimes you might want to take a look at a specific package and try out some commands. But you cannot do that without installing the dependencies in your local node_modules folder.
 +
 +That’s where npx comes in.
 +
 +<code>
 +
 +npx @pactflow/swagger-mock-validator@latest <path to oas> <path to pact file>
 +
 </code> </code>
node.js.1609101328.txt.gz · Last modified: by 127.0.0.1