Skip to content

proxied

Creates a Proxy object that will dynamically call the handler argument when attributes are accessed.

Usage

const proxy = proxied((propertyName) => propertyName.toUpperCase());
proxy.foo; // => "FOO"

Installation

Terminal window
npx atmx add helper proxied