0.0.5 • Published 10 years ago

mojito-config-expansion v0.0.5

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

Mojito Config Expansion plugin

Build Status

Build Status

Usage

This package contains a Mojito resource store add-on that allows you to write the following in your configuration files:

{
    "specs > frame > config > child > config > section > article > config > truncation_length": 180
}

Instead of:

{
    "specs": {
        "frame": {
            "config": {
                "child": {
                    "config": {
                        "section": {
                            "article": {
                                "config": {
                                    "truncation_length": 180
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

Note: the above is a real life example that clearly demonstrates how maintaining configuration can become painful in a complex Mojito application.

To use this resource store add-on, simply require the mojito-config-expansion npm package in your application.

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago