0.0.2 • Published 11 months ago

@3-/req v0.0.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
11 months ago

@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 ⋅ 国际化解决方案 的开源组件。