Socket
Book a DemoInstallSign in
Socket

pmcf

Package Overview
Dependencies
Maintainers
1
Versions
688
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pmcf

Poor mans configuration management

latest
Source
npmnpm
Version
3.14.0
Version published
Weekly downloads
378
47.08%
Maintainers
1
Weekly downloads
 
Created
Source

npm License Typed with TypeScript bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

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, default n=>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> addresses

serviceEndpoints

Parameters

  • sources any

  • options Object? (optional, default {})

    • options.services Function? filter for services
    • options.endpoints Function? filter for endpoints
    • options.select Function? mapper from Endpoint into result
    • options.limit number? upper limit of # result items
    • options.join string? join result(s) into a string

Returns (string | any)

install

With npm do:

npm install pmcf

Keywords

bind

FAQs

Package last updated on 05 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts