Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/next-domain2ip
Query ip from domain.
https://github.com/afeiship/next-domain2ip
address domain ip query whois
Last synced: 10 days ago
JSON representation
Query ip from domain.
- Host: GitHub
- URL: https://github.com/afeiship/next-domain2ip
- Owner: afeiship
- License: mit
- Created: 2020-06-24T02:28:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-21T01:15:39.000Z (almost 4 years ago)
- Last Synced: 2024-10-06T22:24:21.477Z (30 days ago)
- Topics: address, domain, ip, query, whois
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-domain2ip
> Query ip from domain.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```bash
npm install -S @jswork/next-domain2ip
```## usage
```js
import '@jswork/next-domain2ip';nx.domain2ip('www.china.com').then(res=>{
console.log(res);
});
// [ '13.114.40.48' ]
```## license
Code released under [the MIT license](https://github.com/afeiship/next-domain2ip/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/next-domain2ip
[version-url]: https://npmjs.org/package/@jswork/next-domain2ip[license-image]: https://img.shields.io/npm/l/@jswork/next-domain2ip
[license-url]: https://github.com/afeiship/next-domain2ip/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-domain2ip
[size-url]: https://github.com/afeiship/next-domain2ip/blob/master/dist/next-domain2ip.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/next-domain2ip
[download-url]: https://www.npmjs.com/package/@jswork/next-domain2ip