O'Reilly logo

TypeScript Microservices by Parth Ghiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Snyk.io 

This is another module that we can use to vet any modules against the vulnerability database maintained by synk.io. The major advantage of this module is that we do not need to install this for auditing. This module can be used as a pre-check before using any third-party module

  1. Install it globally—npm install snyk -g
  2. Once installed, you will need to authenticate it by hitting snyk auth
  3. Once snyk is set up, you can now vet any module using synk test <module_name>
 For more information you can visit the link https://www.npmjs.com/package/snyk.

The following are some useful commands:

snyk wizard

Finds and fixes known vulnerabilities in a project

snyk protect

Applies patches and suppresses vulnerabilities

snyk monitor ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required