1.0.0 • Published 5 years ago

@tiaanduplessis/fetch-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@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