Deterministically map service names to port numbers
MIT License
Deterministically map service names to port numbers (1024,65535)
.
$ npx named-port Filecoin Station Core
7834
import namedPort from 'named-port'
console.log(namedPort('Filecoin Station Core'))
port = min + H(name) % (max - min)