UNPKG

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
# module::Instancing [![status](https://github.com/Wandalen/wInstancing/actions/workflows/StandardPublish.yml/badge.svg)](https://github.com/Wandalen/wInstancing/actions/workflows/StandardPublish.yml) [![experimental](https://img.shields.io/badge/stability-experimental-orange.svg)](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' ```