wfieldsstack

0.3.333 • Public • Published

module::FieldsStack status experimental

Mixin adds fields rotation mechanism to your class. It's widespread problem to change the value of a field and then after some steps revert old value, no matter what it was. FieldsStack does it for you behind the scene. FieldsStack mixins methods fieldPush, fieldPop which allocate a map of stacks of fields and manage it to avoid any corruption. Use the module to keep it simple and don't repeat yourself.

Try out from the repository

git clone https://github.com/Wandalen/wFieldsStack
cd wFieldsStack
will .npm.install
node sample/trivial/Sample.s

Make sure you have utility willbe installed. To install willbe: npm i -g willbe@stable. Willbe is required to build of the module.

To add to your project

npm add 'wfieldsstack@stable'

Willbe is not required to use the module in your project as submodule.

Readme

Keywords

Package Sidebar

Install

npm i wfieldsstack

Weekly Downloads

3,529

Version

0.3.333

License

MIT

Unpacked Size

47.6 kB

Total Files

7

Last publish

Collaborators

  • wandalen