cvss.js by turingpoint GmbH
A tiny library to work with cvss vectors
TODO: Implement after the package was published to npm.
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
Contributions, issues and feature requests are welcome. Feel free to check out the issues page if you want to contribute.
Copyright © 2020 turingpoint GmbH. This project is MIT licensed.