Skip to content
/ snpn Public

Service names port numbers (SNPN) is a simple library to get which service is commonly assigned to a port

License

Notifications You must be signed in to change notification settings

aldnav/snpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snpn

Service names port numbers (SNPN) is a simple library to get which service is commonly assigned to a port

Reference: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml

Development

$ git clone [email protected]:aldnav/snpn.git && cd snpn
$ npm i
$ npm run watch
$ npm install -g .       # install snpn globally
$ snpn -h
$ snpn i                 # init database
$ npm test               # run tests
$ npm uninstall -g snpn  # uninstall

Usage

Usage: snpn <command>

Service names port numbers

Options:
  -h, --help      display help for command

Commands:
  p [port]        Retrieve a list of services commonly assigned to the port
  i
  help [command]  display help for command
$ snpn p 10 5432
Looking up services with port 10...
 (tcp)  Unassigned
 (udp)  Unassigned
Looking up services with port 5432...
postgresql (udp)        PostgreSQL Database
postgresql (tcp)        PostgreSQL Database

About

Service names port numbers (SNPN) is a simple library to get which service is commonly assigned to a port

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published