# @scriptabuild/readonlyproxy

> Creates a wrapper that looks like the object it wraps, but only provides read only access.

Latest version **1.0.0** (published 2017-07-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @scriptabuild/readonlyproxy
pnpm add @scriptabuild/readonlyproxy
yarn add @scriptabuild/readonlyproxy
bun add @scriptabuild/readonlyproxy
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-07-30 |
| First published | 2017-07-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Arjan Einbu |
| Maintainers | aeinbu |

## Links

- npm: https://www.npmjs.com/package/@scriptabuild/readonlyproxy
- Repository: https://github.com/scriptabuild/readonlyproxy
- Homepage: https://github.com/scriptabuild/readonlyproxy#readme
- Issues: https://github.com/scriptabuild/readonlyproxy/issues
- npm.io page: https://npm.io/package/@scriptabuild/readonlyproxy

## Recent versions

- 1.0.0 (latest) — 2017-07-30

## README

# readonlyproxy

Creates a wrapper that looks like the object it wraps, but only provides read only access.

```bash
npm install @scriptabuild/readonlyproxy
```

Example usage:
```javascript
const wrapInReadOnlyProxy = require("@scriptabuild/readonlyproxy");

let originalObject = { /* lots of properties and nested properties */ };
let wrappedObject = wrapInReadOnlyProxy(originalObject);

// Its not possible to change value on any propery via wrappedObject.
// If you change a property on originalObject, that change is
// immediatly visible through wrappedObject.
```

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