httpsx is a simple, lightweight and user-friendly API client.
bun install -d httpsx
Making requests is simple. There are two ways of getting started: as a library or as a CLI.
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:
httpsx ...
httpsx --help
httpsx --version
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.
bun test
Please see our releases page for more information on what has changed recently.
Please review the Contributing Guide for details.
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Stacks Discord Server
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 ๐
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.
The MIT License (MIT). Please see LICENSE for more information.
Made with ๐