0.0.5 • Published 10 years ago
service-parser v0.0.5
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: [ ] }