npm.io
0.74.46 • Published 1 week ago

@stacksjs/tunnel

Licence
MIT
Version
0.74.46
Deps
1
Size
6 kB
Vulns
0
Weekly
0
Stars
627

Stacks Tunnel

Features

  • easily expose localhost ports

Usage

bun install -d @stacksjs/tunnel

Now, you can use it in your project:

import { createLocalTunnel } from '@stacksjs/tunnel'

const url = await createLocalTunnel(3000)

console.log('publicly sharable URL of your localhost', url)

Learn more in the docs.

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 tunnel

License

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

Made with

Keywords