Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damingerdai/ipjs
ipjs
https://github.com/damingerdai/ipjs
Last synced: 19 days ago
JSON representation
ipjs
- Host: GitHub
- URL: https://github.com/damingerdai/ipjs
- Owner: damingerdai
- License: mit
- Created: 2019-03-15T04:05:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:43:55.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T13:41:24.264Z (almost 2 years ago)
- Language: JavaScript
- Size: 532 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ipjs
获取本地ip的JavaScript工具库
# 安装
该库尚未发布至npm,暂时不支持在线安装
# 使用
```
const { getIpv4, getIpv6 } = require('ipjs');console.log(getIpv4());
console.log(getIpv6());
```# 所有者
[@大明二代](https://github.com/damingerdai)
# License
[MIT](LICENSE) © 大明二代