visionmedia/eson — pull request #1 by timoxley (2012-05-07 07:10:19+00:00)
Title: Globbing includes

This got a bit more tricky than anticipated, but it works ok.

3 systems:

```javascript

config: "include config/*" // will merge all items matching glob

// collect as map, keyed by filename
config: "include {config/*}
// e.g.
{
database: { // db settings from config/database.json },
app: { // app settings from config/app.json }
}

// collect as an array
users: "include [users/*]"
// e.g.
{
users: [
{user: 'from users/dave.json'}
{user: 'from users/barry.json'}
{user: 'from users/joe.json'}
]
}

```