0.1.16 • Published 7 years ago

get-my-local-ip v0.1.16

Weekly downloads
6
License
ISC
Repository
github
Last release
7 years ago

Build Statuscodecov.io

get-my-local-ip

This module gives you your local ip, to be used primarily with hybrid development, where your localhost should be replaced by your local ip, this module helps you to automate this process.

##example use:

  • With Webpack:

    let localIp = require('get-my-local-ip');

 
   module: {
         preLoaders: [
             {
                 test: /\.jsx?$/,
                 loader: 'string-replace',
                 query: {
                     multiple: [
                         {search: 'localhost', replace: localIp.address},
                         {search: '0.0.0.0', replace: localIp.address}
                     ]
                 }
             }
         ],
         loaders: ....
     }
0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago