first commit

This commit is contained in:
2024-11-28 22:34:56 +08:00
commit 6e0b8ccc4d
11 changed files with 1578 additions and 0 deletions

12
utils/ip.js Normal file
View File

@@ -0,0 +1,12 @@
import ip from 'ip'
class IP {
ipv6() {
return ip.address('private','ipv6')
}
ipv4() {
return ip.address('public','ipv4')
}
}
export const {ipv6,ipv4} = new IP()