@lorenzo0111/httpcli
v1.0.2
Published
<div align="center">
Downloads
0
Readme
HTTP Cli
What is HTTPCli
HTTPCli is a parser for HTTP files. It allows you to run HTTP requests easily with a basic syntax.
Installing
Binaries
HTTP Cli is available for Windows, Linux and MacOS. You can download the latest release from the releases page.
NPM
You can also install HTTPCli using npm:
npm install -g @lorenzo0111/httpcliImporting as a module
You can also import HTTPCli as a module in your project and use its functions
npm install @lorenzo0111/httpcliUsage
Command Line
# Start a REPL session
httpcli
# Run a file
httpcli file.httpAs a module
import { parse } from "@lorenzo0111/httpcli";
const httpFile = `
GET https://jsonplaceholder.typicode.com/todos/1
`;
parse(httpFile).then((res) => {
console.log(res);
});License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you need help, feel free to join the Discord Server or open an issue.
