@mazp/node-util
v1.1.2
Published
Common utility script functions for node ~
Downloads
1
Readme
@mazp/node-util
Introduce
Integrate the functions commonly used in the node project or lib.
Install
npm i @mazp/node-util yarn add @mazp/node-util pnpm add @mazp/node-util
Usage
// ESM import { getLocalIPV4 } from "@mazp/util";
// CJS let { getLocalIPV4 } = require("@mazp/util");
API
getLocalIPV4
Get the current ipv4 address of the machine.
declare function getLocalIPV4(): string;