Golfklub / cvss.js

A tiny JavaScript library to work with CVSS vectors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cvss.js by turingpoint GmbH

Version License: MIT

A tiny library to work with cvss vectors

Install

TODO: Implement after the package was published to npm.

Usage

const CVSS = require("@turingpointde/cvss.js");

const vector = CVSS("CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L");

console.log(vector.getScore()); // 4.4
console.log(vector.vector); // CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L

Contributing

Contributions, issues and feature requests are welcome. Feel free to check out the issues page if you want to contribute.

License

Copyright © 2020 turingpoint GmbH. This project is MIT licensed.

About

A tiny JavaScript library to work with CVSS vectors

License:MIT License


Languages

Language:JavaScript 100.0%