{"_id":"b-html-plus","_rev":"5-5665c49d085456fe66d2030a4dc706f8","name":"b-html-plus","description":"A template language based on b-html","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"b-html-plus","description":"A template language based on b-html","version":"0.1.0","author":{"name":"bouzuya","email":"m@bouzuya.net","url":"http://bouzuya.net"},"bugs":{"url":"https://github.com/bouzuya/b-html-plus/issues"},"dependencies":{"b-html":"^0.8.2"},"devDependencies":{"coffee-script":"^1.9.3","del":"^1.2.0","gulp":"^3.9.0","gulp-coffee":"^2.3.1","gulp-espower":"^0.10.1","gulp-mocha":"^2.1.3","gulp-sourcemaps":"^1.5.2","gulp-util":"^3.0.6","gulp-watch":"^4.3.4","power-assert":"^0.11.0","run-sequence":"^1.1.2"},"files":["lib","index.js","package.json","LICENSE","README.md"],"homepage":"https://github.com/bouzuya/b-html-plus#readme","keywords":["HTML","b-html"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bouzuya/b-html-plus.git"},"scripts":{"build":"gulp build","clean":"gulp clean","prepublish":"gulp","test":"gulp test","watch":"gulp watch"},"gitHead":"259295bc6a39464788e515ac2edd8631197e56e3","_id":"b-html-plus@0.1.0","_shasum":"f7da50935792a812349e9a434ca062ca93f417f8","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"bouzuya","email":"m@bouzuya.net"},"dist":{"shasum":"f7da50935792a812349e9a434ca062ca93f417f8","tarball":"https://registry.npmjs.org/b-html-plus/-/b-html-plus-0.1.0.tgz","integrity":"sha512-138dqSz0oghyCT/vqEbsTsFpnB91dxzKJ9PY/yiXVODOvjHXSdbKbYLczfyDO2maiF3uWIkM+0IglDYqLJ3LpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxTkiLjoWXpOkd1nYbAoEw2//aSs8u6xeRnqWIPwVHCAIgS5ZvFm6Y8+xNiW7MmcYfxXc+aFtA7J3Vh59bHyZUOA4="}]},"maintainers":[{"name":"bouzuya","email":"m@bouzuya.net"}]},"0.2.0":{"name":"b-html-plus","description":"A template language based on b-html","version":"0.2.0","author":{"name":"bouzuya","email":"m@bouzuya.net","url":"http://bouzuya.net"},"bugs":{"url":"https://github.com/bouzuya/b-html-plus/issues"},"dependencies":{"b-html":"^0.8.2"},"devDependencies":{"coffee-script":"^1.9.3","del":"^1.2.0","gulp":"^3.9.0","gulp-coffee":"^2.3.1","gulp-espower":"^0.10.1","gulp-mocha":"^2.1.3","gulp-sourcemaps":"^1.5.2","gulp-util":"^3.0.6","gulp-watch":"^4.3.4","power-assert":"^0.11.0","run-sequence":"^1.1.2"},"files":["lib","index.js","package.json","LICENSE","README.md"],"homepage":"https://github.com/bouzuya/b-html-plus#readme","keywords":["HTML","b-html"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bouzuya/b-html-plus.git"},"scripts":{"build":"gulp build","clean":"gulp clean","prepublish":"gulp","test":"gulp test","watch":"gulp watch"},"gitHead":"bbd4aa26b0402e812ffa4cd513644469a747f193","_id":"b-html-plus@0.2.0","_shasum":"355f6828f866eb360210323ad09355a0f1109fdf","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"bouzuya","email":"m@bouzuya.net"},"dist":{"shasum":"355f6828f866eb360210323ad09355a0f1109fdf","tarball":"https://registry.npmjs.org/b-html-plus/-/b-html-plus-0.2.0.tgz","integrity":"sha512-YSzUdqYBgXzPZda55lUcWC6qVDb5ivouemNPAUPz8WJqBfxuqkaezLY+bukhI4CPvepqgL9mznhB9ZkOFzsgBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoIMWk5WmrLrzaBXQHInjNGOC8fn9Lo23IScZhmZK0tQIhAKmZ0hQ0spMF8RlYcaUaJzhjZPKi3yLG2zuXLAa+kD7K"}]},"maintainers":[{"name":"bouzuya","email":"m@bouzuya.net"}]},"0.3.0":{"name":"b-html-plus","description":"A template language based on b-html","version":"0.3.0","author":{"name":"bouzuya","email":"m@bouzuya.net","url":"http://bouzuya.net"},"bugs":{"url":"https://github.com/bouzuya/b-html-plus/issues"},"dependencies":{"b-html":"^0.9.0"},"devDependencies":{"coffee-script":"^1.9.3","del":"^1.2.0","gulp":"^3.9.0","gulp-coffee":"^2.3.1","gulp-espower":"^0.10.1","gulp-mocha":"^2.1.3","gulp-sourcemaps":"^1.5.2","gulp-util":"^3.0.6","gulp-watch":"^4.3.4","power-assert":"^0.11.0","run-sequence":"^1.1.2"},"files":["lib","index.js","package.json","LICENSE","README.md"],"homepage":"https://github.com/bouzuya/b-html-plus#readme","keywords":["HTML","b-html"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bouzuya/b-html-plus.git"},"scripts":{"build":"gulp build","clean":"gulp clean","prepublish":"gulp","test":"gulp test","watch":"gulp watch"},"gitHead":"9288f889f25010c0768fd34b79cf4a20d04d4165","_id":"b-html-plus@0.3.0","_shasum":"790df6e82af397c873c226c76c32b3b597e1ebcd","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"bouzuya","email":"m@bouzuya.net"},"dist":{"shasum":"790df6e82af397c873c226c76c32b3b597e1ebcd","tarball":"https://registry.npmjs.org/b-html-plus/-/b-html-plus-0.3.0.tgz","integrity":"sha512-ssbOtkGeUkPLmzEWgZdycDknuV2O52hnDwIOK0T9kmF8otGL03M4czghNRkie8Kyz8ThpOxVdSIK2GwlDOIgSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrmzy0ENhaanUlUw4uLs5HaDkqjbDLH28FHBoEOzB18wIgKyiV+vmkhVT6637QWSw4BCShfUEvkySPbk/1oHx1rxg="}]},"maintainers":[{"name":"bouzuya","email":"m@bouzuya.net"}]}},"readme":"# b-html-plus\n\nA template language based on [b-html][b-html/b-html].\n\nIt is also an example for [b-html][b-html/b-html]'s format option.\n\n## Usage\n\n```javascript\nimport assert from 'assert';\nimport bHtml from 'b-html-plus';\n\nlet source = `<ul\n  <li\n    @b-repeat user in users\n    @b-text user.name\n`;\nlet template = bHtml(source);\nlet context = {\n  users: [\n    { name: 'bouzuya' },\n    { name: 'emanon001' }\n  ]\n};\nlet html = template(context);\nassert(html === '<ul><li>bouzuya</li><li>emanon001</li></ul>');\n```\n\n## Syntax\n\n- `b-attr <attrs>` ... attributes (e.g. `@b-attr width: w, height: h`)\n- `b-html <html>` ... `innerHTML` (e.g. `@b-html html`)\n- `b-if <condition>` ... remove tree if condition is falsy (e.g. `@b-if show`)\n- `b-repeat <item> in <list>` ... repeat (e.g. `@b-repeat user in users`)\n- `b-text <text>` ... `innerText` (e.g. `@b-html text`)\n\n## License\n\n[MIT](LICENSE)\n\n## Author\n\n[bouzuya][user] &lt;[m@bouzuya.net][email]&gt; ([http://bouzuya.net][url])\n\n[user]: https://github.com/bouzuya\n[email]: mailto:m@bouzuya.net\n[url]: http://bouzuya.net\n\n[b-html/b-html]: https://github.com/b-html/b-html\n","maintainers":[{"name":"bouzuya","email":"m@bouzuya.net"}],"time":{"modified":"2022-06-13T03:59:06.112Z","created":"2015-08-25T14:46:30.987Z","0.1.0":"2015-08-25T14:46:30.987Z","0.2.0":"2015-08-28T05:49:30.024Z","0.3.0":"2015-09-02T11:58:05.721Z"},"homepage":"https://github.com/bouzuya/b-html-plus#readme","keywords":["HTML","b-html"],"repository":{"type":"git","url":"git+https://github.com/bouzuya/b-html-plus.git"},"author":{"name":"bouzuya","email":"m@bouzuya.net","url":"http://bouzuya.net"},"bugs":{"url":"https://github.com/bouzuya/b-html-plus/issues"},"license":"MIT","readmeFilename":"README.md"}