# Thin Module

A Thin Module is a module that only has metadata, no payloads.

As Thin Module does not have any payloads, its`meta.js`can only accept function`install`and option`on`. Any other option like`use`,`set`or`singleton`will not be applicable. The function`install`will be used to initialize the module inself and register it to the container.

Thin Module is useful in case of you want to have a light-weight module with small amount of code, or you want to use the module to install some`node_modules`as mentioned in Customizing Module Installation.

Example below represents a thin`config.development`module:

```javascript
// meta.js
module.exports = {
    install: ($, name, path) => {
        $.bind(name).to(Object.freeze({
            DB_HOST: 'localhost',
            DB_NAME: 'mydb'
            // and more...
        }));
    }
}
```
