Skip to content

tiaanduplessis/fetch-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@tiaanduplessis/fetch-cli

package version package downloads standard-readme compliant package license make a pull request

Use fetch API from your terminal

Table of Contents

About

A little tool that allows fetch API like requests from the terminal. It uses tenacious-fetch under the hood, so retries and timeouts are also supported. You probably shouldn't use this. Just stick with curl.

Install

This project uses node and npm.

$ npm install @tiaanduplessis/fetch-cli
$ # OR
$ yarn add @tiaanduplessis/fetch-cli

Usage

$ fetch https://jsonplaceholder.typicode.com/todos/1 --config={method: "Post"}

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

About

Use fetch API from your terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published