Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including nvd-cli with all npm packages installed. Try it out:

nvd-cli lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("nvd-cli/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nvd-cli v0.6.9

Check the NVD for vulnerabilites based on a providedsearch term and output results to PDF


This project is designed to assist with searching the National Vulnerability Database (NVD) and getting vulnerability info for the products that matter to you

If there's errors or anything like that, feel free to put up and issue or contact me personally.

Please be patient since this will be the first npm cli-type project I've worked on. I'll be testing as I can


You can install this cli program via npm:

npm install -g nvd-cli

Checking your nvd-cli version

Standard --version arg is supported to check which version of this npm app you have:

$ nvd-cli --version



$ nvd-cli  -t search_term -f [year] || -r

-f, --full            Conduct a full search against for a given <year> arg

-r, --recent, recent  Search for vulnerabilaties in the NVD recent category using default 

-t, --term            Search term to check the NVD database against

Known issues

Using this command line tool in a NodeJS project folder will cause a pathing issue, crashing the tool. Avoid this for now.


  • 0.6.9
    • Improved commander functionality
  • 0.6.5
    • Fixed the annoying PATH errors with Windows
    • Tested in Linux/UNIX environment
    • Removed some debugging code
  • 0.5.5
    • Completely changed how this CLI tool operates
    • Streamlined usage and removed a lot of unused code
    • Using commander for processing args instead of custom code
    • Removing files on script completeion
  • 0.5.0
    • Added --vendor option to -s and --search primary flags
    • Cleaned up the documentation so it made a bit more sense after some feedback
    • Minor fixes
  • 0.4.9
    • Set PDKit to default font to avoid issues
  • 0.4.8
    • Fixed checklist issue that popped up that testing didn't catch
  • 0.4.7
    • --search command now actually does something (accidentally left code commented when testing)
  • 0.4.5
    • Updated some legacy code involving checklist files that was causing issues if it was not found
    • Minor changes
  • 0.4.1
    • Fixed the npm install issue
  • 0.4.0
    • Added the help <command> functionality. There's likely typos/errors. If you find any let me know
    • Updated the -h (--help) information
    • Project is now up on npm
  • 0.3.5
    • Added the -t (--type) optional flag for changing the output type
    • Changed the arg validations slightly, reducing the number of pre-run checks
  • 0.3.2
    • Updated help info to be actually useful
  • 0.3.1
    • -s now requires at least 3 characters to search by
    • fixed HUGE issue where -s flag wasn't actually searching the passed year
  • 0.3.0
    • -s functionality has been (mostly) implimented
    • -v flag will now show the version of nvd-cli installed
    • Major improvment to code layout
    • Much more validation has been put in place
  • 0.2.0
    • A new (better) argument handler is now in place
    • -f and -r args work as before if not better than before
    • -c and -o commands for setting a custom checklist and output location have been added
  • 0.1.2
    • Added help command/arg handler. help <command> not yet working
  • 0.1.0
    • -r and -f functionality are partially implimented
  • 0.0.1
    • Initial minimum viable product


See LICENSE file in the root directory

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free