diff --git a/README.md b/README.md index e69de29..db37855 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,47 @@ +# DomBuilder + +[![Build Status](https://secure.travis-ci.org/creationix/dombuilder.png)](http://travis-ci.org/creationix/dombuilder) + + +Dombuilder is a simple library that makes it easy to generate dom nodes from a JSON-like structure. + +## Usage + +The module is a single function exported as the global `domBuilder` or through an AMD style module as the `dombuilder` package. + + +```js +// Create a hash to store element references +var $ = {}; +// Create the template as a JSON-ML structure +var template = [ + [".profile", // "