UNPKG

@spot-meetings/utils

Version:
38 lines (24 loc) 518 B
# @spot-meetings/utils Spot's utility functions. ## Installation ``` npm i @spot-meetings/utils ``` ``` yarn add @spot-meetings/utils ``` ## Usage Just import the module you'd like to use: ```ts import { getInstanceIp } from '@spot-meetings/utils/lib/network' const ip = getInstanceIp() ``` Or import everything: ```ts import { network } from '@spot-meetings/utils' const ip = network.getInstanceIp() ``` ## Available Modules Module|Description ---|--- `network`|Local and public IP resolution functions.