web-assets

Define web assets for CommonJS modules.

npm install web-assets
1 downloads in the last week
4 downloads in the last month

web-assets

Lets you define, require and extend web assets.

Defining a simple component:

exports.assets = require('web-assets')('./template.html', 'message.css')

Extending it:

message = require('../message')

exports.assets = require('web-assets')(message, 'notification.css')

Creating compositions:

title = require('./title')
body  = require('./body')

exports.assets = require('web-assets')(title, body, 'article.html')
``

## Install

```bash
$ npm install web-assets

npm loves you