# @types/harmony-proxy

> TypeScript definitions for harmony-proxy

Latest version **1.0.32** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/harmony-proxy
pnpm add @types/harmony-proxy
yarn add @types/harmony-proxy
bun add @types/harmony-proxy
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.32 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/harmony-proxy
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/harmony-proxy
- npm.io page: https://npm.io/package/@types/harmony-proxy

## Recent versions

- 1.0.32 (latest) — 2023-11-07
- 1.0.29 (ts2.0) — 2017-08-21
- 1.0.31 — 2023-10-18
- 1.0.30 — 2023-09-16
- 1.0.28 — 2016-09-19
- 1.0.27 — 2016-07-14
- 1.0.26-alpha — 2016-07-08
- 1.0.25-alpha — 2016-07-04
- 1.0.24-alpha — 2016-07-02
- 1.0.23-alpha — 2016-07-01
- 1.0.22-alpha — 2016-07-01
- 1.0.21-alpha — 2016-05-25
- 1.0.20-alpha — 2016-05-20
- 1.0.15-alpha — 2016-05-19
- 1.0.14-alpha — 2016-05-17

## README

# Installation
> `npm install --save @types/harmony-proxy`

# Summary
This package contains type definitions for harmony-proxy (https://www.npmjs.com/package/harmony-proxy).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/harmony-proxy.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/harmony-proxy/index.d.ts)
````ts
declare namespace harmonyProxy {
    type PropertyKey = string | number | symbol;

    interface ProxyHandler<T> {
        getPrototypeOf?(target: T): any;
        setPrototypeOf?(target: T, v: any): boolean;
        isExtensible?(target: T): boolean;
        preventExtensions?(target: T): boolean;
        getOwnPropertyDescriptor?(target: T, p: PropertyKey): PropertyDescriptor;
        has?(target: T, p: PropertyKey): boolean;
        get?(target: T, p: PropertyKey, receiver: any): any;
        set?(target: T, p: PropertyKey, value: any, receiver: any): boolean;
        deleteProperty?(target: T, p: PropertyKey): boolean;
        defineProperty?(target: T, p: PropertyKey, attributes: PropertyDescriptor): boolean;
        enumerate?(target: T): PropertyKey[];
        ownKeys?(target: T): PropertyKey[];
        apply?(target: T, thisArg: any, argArray?: any): any;
        construct?(target: T, thisArg: any, argArray?: any): any;
    }

    interface ProxyConstructor {
        revocable<T>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void };
        new<T>(target: T, handler: ProxyHandler<T>): T;
    }
}

declare var _Proxy: harmonyProxy.ProxyConstructor;
export = _Proxy;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [Remo Jansen](https://github.com/remojansen).

---
_Source: https://npm.io/package/@types/harmony-proxy · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
