https://github.com/andreaspitzer/ip-to-string
Convert an integer IP address to its dot-decimal string representation, eg `0x7F000001` to `127.0.0.1`
https://github.com/andreaspitzer/ip-to-string
Last synced: about 1 year ago
JSON representation
Convert an integer IP address to its dot-decimal string representation, eg `0x7F000001` to `127.0.0.1`
- Host: GitHub
- URL: https://github.com/andreaspitzer/ip-to-string
- Owner: andreaspitzer
- License: mit
- Created: 2016-01-16T16:32:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-18T08:10:33.000Z (over 7 years ago)
- Last Synced: 2025-06-12T18:16:31.922Z (about 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ip-to-string
============
> Convert an integer IP address to its dot-decimal string representation, eg `0x7F000001` to `127.0.0.1`


# Install
```bash
npm i -S ip-to-string
```
# Use
```javascript
var ipToString = require('ip-to-string');
ipToString(0x7F000001);
// -> '127.0.0.1'
```
# license
[MIT](LICENSE)