@sanitycheck0x00/nmap.js
v1.0.1
Published
<h1 align="center">nmap.js by Sanitycheck</h1> <p> <img alt="Version" src="https://img.shields.io/badge/version1.0.0-blue.svg?cacheSeconds=2592000" /> <a href="#" target="_blank"> <img alt="License: MIT" src="https://img.shields.io/badge/License-M
Readme
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.jsImport 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.
