winstancing
Version:
Mixin adds instances accounting functionality to a class. Instancing makes possible to iterate instances of the specific class, optionally create names map or class name map in case of a complicated hierarchical structure. Use Instancing to don't repeat y
18 lines (11 loc) • 733 B
Markdown
module::Instancing [](https://github.com/Wandalen/wInstancing/actions/workflows/StandardPublish.yml) [](https://github.com/emersion/stability-badges#experimental)
Mixin adds instances accounting functionality to a class. Instancing makes possible to iterate instances of the specific class, optionally create names map or class name map in case of a complicated hierarchical structure. Use Instancing to don't repeat yourself. Refactoring required.
## Try out
```
npm install
node sample/Base.s
```
## To add
```
npm add 'winstancing@stable'
```