TU

Tunnel Rat

tunnel-rat

non gratum anus rodentum

Utilities
react
portal
tunnel
tunnel-rat
Utilities
javascript
npm
frontend
open source
ui
Stars
537
Weekly
3.2M
Open issues
7
Bundle
~25 kB

Installation

npm install tunnel-rat

Code example

import { useTunnelRat } from "tunnel-rat";

export function Example() {
  const value = useTunnelRat();
  return <p>{String(value)}</p>;
}

Pros & cons

Pros

  • Actively maintained by Paul Henschel
  • 3.2M weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 7 open issues on GitHub

FAQs

Alternatives & similar libraries