# @art-suite/instance-function-binding-mixin

> Mix into your class to add the ability to, at your discretion, bind all instance-functions on an instance to that instance. Henceforth, you can use those functions without the instance and yet they will still have access to all the instance's data. This i

Latest version **1.0.4** (published 2025-11-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install @art-suite/instance-function-binding-mixin
pnpm add @art-suite/instance-function-binding-mixin
yarn add @art-suite/instance-function-binding-mixin
bun add @art-suite/instance-function-binding-mixin
```

## Health

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

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2025-11-07 |
| First published | 2020-12-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 14.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Shane Brinkman-Davis Delamore |
| Maintainers | shanebdavis |

## Links

- npm: https://www.npmjs.com/package/@art-suite/instance-function-binding-mixin
- Repository: https://github.com/art-suite/art-suite-foundations
- Issues: https://github.com/art-suite/art-suite-foundations/issues
- npm.io page: https://npm.io/package/@art-suite/instance-function-binding-mixin

## Dependencies (1)

- [art-standard-lib](https://npm.io/package/art-standard-lib.md) ^1.74.4

## Recent versions

- 1.0.4 (latest) — 2025-11-07
- 1.0.3 — 2021-07-28
- 1.0.2 — 2021-03-26
- 1.0.0 — 2020-12-27

## README

# ArtSuite: InstanceFunctionBindingMixin

Mix into your class to add the ability to, at your discretion, bind all instance-functions on an instance to that instance. Henceforth, you can use those functions without the instance and yet they will still have access to all the instance's data. This is used in ArtReact and ArtFlux (ArtSuite/Models) to make it easy to read-out instance functions and pass them to other components.

Bonus: This has basic hotreloading support. That means, if you add instance-creation-tracking (as ArtReact does) you can update all instances when a class is reloaded with added, updated or removed instance methods.

See tests for examples.

---
_Source: https://npm.io/package/@art-suite/instance-function-binding-mixin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
