@3-/req

0.0.2 • Public • Published

@3-/req

test/main.coffee :

#!/usr/bin/env coffee

> @3-/req/reqTxt
  @3-/req/req
console.log await reqTxt 'http://myip.ipip.net'
#r = await req('https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/7cab2bee-5662-46f9-de0f-992437662a00/width=0')
#console.log r.headers.get('content-type').split('/').pop()

output :

当前 IP:222.249.139.78  来自于:中国 北京 北京  电信

About This Project

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于本项目

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

/@3-/req/

    Package Sidebar

    Install

    npm i @3-/req

    Weekly Downloads

    0

    Version

    0.0.2

    License

    Apache-2.0

    Unpacked Size

    4.67 kB

    Total Files

    10

    Last publish

    Collaborators

    • i18n-now