Proxy Target Utility

JSON →
library 3.0.2 ·javascript
verified May 27, 2026

proxy-target is a JavaScript utility library designed to simplify the use of native Proxies, particularly when dealing with primitive values, `null`, `undefined`, and functions. It addresses common `Proxy` limitations, such as the inability to directly proxy primitives or the 'Array.isArray shenanigans' by wrapping values in an object structure that can be consistently proxied and then unwrapped. The current stable version is 3.0.2. It appears to follow a release cadence driven by feature enhancements and bug fixes, rather than strict time-based intervals. Key differentiators include its ability to uniformly proxy almost any JavaScript value (primitives, objects, functions, etc.) by converting them into a structured `{ type, value }` pair, and its explicit mechanisms (`wrap`, `unwrap`, `bound`, `unbound`) for managing `this` context and value retrieval within a proxy chain. This makes it particularly useful for advanced metaprogramming scenarios where uniform proxy behavior across diverse value types is crucial.

total hits 25
actors 9 distinct systems
last hit 2d ago Amazonbot
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2
Humans
4

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇳🇴 Norway · BD · 🇩🇪 Germany