Nonvoluntary Professional Mangling

npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

service-parser

0.0.5 • Public • Published

service-parser

Service file parser for nodejs

Install

npm install service-parser

Example

var services = require("service-parser");
 
console.log(services.getByPort(80));
// { name: "http", port: 80, type: "tcp", aliases: [ "www" ] }
 
console.log(services.getByName("ftp"));
// { name: "ftp", port: 21, type: "tcp", aliases: [ ] }

install

npm i service-parser

Downloadsweekly downloads

13

version

0.0.5

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability