1.0.1 • Published 10 months ago
@sanitycheck0x00/nmap.js v1.0.1
nmap.js is library to parse nmap output files into javascript. Heavily inspired by turingsecure's burp.js and nessus.js libraries.
Installation
Install the @sanitycheck0x00/nmap.js
package:
# use yarn or npm
npm install @sanitycheck0x00/nmap.js
Import the library to use it in your code:
import { NmapParser } from "@sanitycheck0x00/nmap.js";
Usage
To parse an XML file, you just have to execute the imported function.
const xml = "nmap xml";
const scan = NmapParser(xml);
console.dir(scan, { depth: null });
Contributing
Contributions, issues and feature requests are welcome. Feel free to check out the issues page if you want to contribute.
License
This project is MIT licensed.