# reggae

> chilled object registry

Latest version **0.0.2** (published 2014-05-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install reggae
pnpm add reggae
yarn add reggae
bun add reggae
```

## Health

**Score 0/100 (F)** — status: abandoned.

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

Negative: high vulnerabilities; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2014-05-09 |
| First published | 2014-05-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 1 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | christoph.hagenbrock@googlemail.com |
| Maintainers | agebrock |
| Keywords | registry, object, getter, setter |

## Links

- npm: https://www.npmjs.com/package/reggae
- Repository: https://github.com/Finanzchef24-GmbH/reggae
- Issues: https://github.com/Finanzchef24-GmbH/reggae/issues
- npm.io page: https://npm.io/package/reggae

## Dependencies (1)

- [should](https://npm.io/package/should.md) ^3.3.1

## Recent versions

- 0.0.2 (latest) — 2014-05-09
- 0.0.1 — 2014-05-09

## README

reggae
======

Chilled object registry, to support your application design.
inspired by mongoose.model("yourModel"), raggae offers the same registry like funktion for your own code.

## Install ##
    npm install reggae

## how to ##
### To use as registry ###

In File A:

    var raggae = require('raggae');

    raggae.set('controller.rastaman', function (value) {
        return 'vibration ' + value;
    });


In File B:

    var raggae = require('raggae');
    console.log( raggae.get('controller.rastaman')('yeah') );



### To use as object helper ###

    var scope = {scopedA: {scopedB: {}}};
    raggae.set('scopedA.scopedB.scopedC.scopedD', 5, scope); // {scopedA: {scopedB: {scopedC: {scopedD: {}}}}};
    raggae.get('scopedA.scopedB.scopedC.scopedD', 5, scope); // returns 5


Easy - Use it wisely ;)

---
_Source: https://npm.io/package/reggae · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
