pmcf
Poor mans configuration management
API
Table of Contents
Base
Parameters
owner
data
extends
Returns Iterable<Base>
findService
Parameters
filter
any
Returns any service with the highest priority
port
Returns number
socketAddress
Returns string
port
Returns number
SkeletonNetworkInterface
Extends ServiceOwner
networkAddresses
Parameters
filter
Object (optional, defaultn=>true
)
Returns Iterable<NetworkAddress>
NetworkAddress
Parameters
networkInterface
address
subnet
subnet
Type: Subnet
networkInterface
Type: NetworkInterface
address
Type: (string | Uint8Array | Uint16Array)
addresses
Parameters
Returns Iterable[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) addresses
serviceEndpoints
Parameters
sources
anyoptions
Object? (optional, default{}
)
Returns (string | any)
install
With npm do:
npm install pmcf