1. my-local-ip
tell me my local ip address
my-local-ip
Package: my-local-ip
Created by: dominictarr
Last modified: Mon, 20 Jun 2022 16:04:52 GMT
Version: 1.0.0
License: MIT
Downloads: 6,187
Repository: https://github.com/dominictarr/my-local-ip

Install

npm install my-local-ip
yarn add my-local-ip

my-local-ip

get your current ip address on the local-network

console.log(require('my-local-ip')())
//==> 192.168.1.33

Also, because sometime you need this (cross-platform!)

> npm install -g my-local-ip
> my-local-ip
192.168.1.33

License

MIT

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin