# expose-hidden

> expose everything from an object to itself

Latest version **0.0.2** (published 2017-03-31) · 0 weekly downloads

## Install

```sh
npm install expose-hidden
pnpm add expose-hidden
yarn add expose-hidden
bun add expose-hidden
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2017-03-31 |
| First published | 2017-03-29 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | James |
| Maintainers | aretecode |
| Keywords | fliphub, object, hidden, extend-object, extend-hidden, expose-hidden |

## Links

- npm: https://www.npmjs.com/package/expose-hidden
- Repository: https://github.com/flip-box/fliphub
- Homepage: https://github.com/flip-box/fliphub#readme
- Issues: https://github.com/flip-box/fliphub/issues
- npm.io page: https://npm.io/package/expose-hidden

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2017-03-31
- 0.0.1 — 2017-03-29

## README

When extending objects in nodejs, Object.keys and Object.getOwnPropertyNames may not give you all of the methods on the object. Use expose hidden to re-expose the hidden methods.

```js
const exposeHidden = require('expose-hidden')
class Eh {
  hidden1() {}
  hidden2() {}
}
const eh = new Eh()

// @returns eh, it mutates so it does not need to return, but for convenience
exposeHidden(eh, /* optional second arg is `thisArg` to rebind as needed */)
```

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