http-to-curl:NodeJs HTTP请求调试器为每个http请求生成curl

时间:2024-06-05 17:50:03
【文件属性】:

文件名称:http-to-curl:NodeJs HTTP请求调试器为每个http请求生成curl

文件大小:46KB

文件格式:ZIP

更新时间:2024-06-05 17:50:03

JavaScript

节点js HTTP请求到cURL 厌倦了从nodejs手动生成curl进行调试的提议? 是否需要将nodejs请求导出到您的REST客户端(例如和 )? http-to-curl来解救!! 安装 :gear: yarn add http-to-curl # old way npm install http-to-curl --save 用法 :books: // import httpToCurl on your server entry point of your project or code (e.g. server.js / index.js) import httpToCurl from 'http-to-curl' ; httpToCurl ( ) ; // Traditional way const httpToCurl = require ( 'http-to-curl' ) . defa


【文件预览】:
http-to-curl-master
----rollup.config.js(323B)
----yarn.lock(143KB)
----src()
--------main.js(4KB)
----.babelrc(110B)
----.travis.yml(51B)
----example()
--------getRegex.js(450B)
--------delete.js(376B)
--------get.js(373B)
--------patch.js(495B)
--------post.js(527B)
--------put.js(536B)
--------getCustomCallback.js(615B)
----LICENSE(1KB)
----test()
--------main.test.js(6KB)
----README.md(2KB)
----.gitignore(32B)
----package.json(1KB)

网友评论