examplr
v1.0.0
Published
Build and demo code examples.
Downloads
5
Readme
examplr
Build and demo code examples.
Basic Usage
<!-- examples.html -->
<div id="examplr"></div>
<script src="example-bundle.js"></script>
// examples.js
var example = require('examplr')();
example('My Cool Example', function(el) {
el.textContent = 'Hello World!';
});
$ browserify examples.js -o example-bundle.js --debug
$ open examples.html