loading...

boom - command line http tool

pranay_rauthu profile image pranay rauthu ・1 min read

I have published my first npm package. 💃💃💃

boom is a cli tool built for working with collection of http requests.

GitHub logo pranayrauthu / boom

command line http client

boom

boom is a command line http tool.

NPM

installation

boom can be installed globally by

npm i @prauthu/boom -g

usage

create a file with name file.http with following content

GET https://jsonplaceholder.typicode.com/posts/1

boom x file.http will execute the request in file.http

boom c file.http will convert the request in file.http to curl command.

usage with environments

create a file with name .boom.json with environments in following format.

{
    "activeEnvironment": "default",
    "enviroments": {
        "default": {
            "host": "https://jsonplaceholder.typicode.com"
        }
    }
}

and file.http with following content

GET {{host}}/posts/1



Discussion

pic
Editor guide