@mazp/node-util
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published
  1. @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;

Readme

Keywords

Package Sidebar

Install

npm i @mazp/node-util

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

4.12 kB

Total Files

6

Last publish

Collaborators

  • sishen654