Skip to content

๐Ÿค– A modern command-line & library HTTP client, "for the API era." Like httpie, written in & for TypeScript.

License

Notifications You must be signed in to change notification settings

stacksjs/httpsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Social Card of this repo

npm version GitHub Actions Commitizen friendly

httpsx

httpsx is a simple, lightweight and user-friendly API client.

Features

Install

bun install -d httpsx

Get Started

Making requests is simple. There are two ways of getting started: as a library or as a CLI.

Library

Given the npm package is installed:

import type { HttpsxConfig } from 'httpsx'
import { ... } from 'httpsx'

// ...

In case you are trying to start multiple proxies, you may use this configuration:

CLI

httpsx ...
httpsx --help
httpsx --version

Configuration

The Reverse Proxy can be configured using a httpsx.config.ts (or httpsx.config.js) file and it will be automatically loaded when running the reverse-proxy command.

// httpsx.config.{ts,js}
import type { HttpsxOptions } from '@stacksjs/httpsx'
import os from 'node:os'
import path from 'node:path'

const config: HttpsxOptions = {
  verbose: false,
}

export default config

Then run:

./httpsx

To learn more, head over to the documentation.

Testing

bun test

Changelog

Please see our releases page for more information on what has changed recently.

Contributing

Please review the Contributing Guide for details.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Stacks Discord Server

Postcardware

Two things are true: Stacks OSS will always stay open-source, and we do love to receive postcards from wherever Stacks is used! ๐ŸŒ We also publish them on our website. And thank you, Spatie

Our address: Stacks.js, 12665 Village Ln #2306, Playa Vista, CA 90094 ๐ŸŒŽ

Sponsors

We would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.

Credits

License

The MIT License (MIT). Please see LICENSE for more information.

Made with ๐Ÿ’™

About

๐Ÿค– A modern command-line & library HTTP client, "for the API era." Like httpie, written in & for TypeScript.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published