1.0.0 • Published 5 years ago

chain-objects v1.0.0

Weekly downloads
7
License
-
Repository
github
Last release
5 years ago

chain-objects

cascading objects

PRs Welcome

Getting Started

Install the package by running:

<npm | yarn | pnpm> install chain-objects

Then use it:

const chain = require('chain-objects').chain({ a: 1 }, { b: 2 })

Features

  • access adjacent sibling properties
    • via kSuper (Symbol.for('chain-objects/super')): { get a() { return this[kSuper].a } }

API

Supported Node.js versions

This project aims to support all supported Node.js LTS versions (see LTS README for more details) as well as the latest stable Node.js.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the ISC License - see the LICENSE file for details.

Contributing & Development

Please note that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.

And please do participate!

For a quick start see the contributing guide

Authors

  • Sascha Tandel - Initial work - sastan

See also the list of contributors who participated in this project.

Acknowledgments