json-ml

1.0.0 • Public • Published

json-ml

Installation

npm i json-ml --save

Usage

var jml = require('json-ml').toHTML;
 
var html = jml.toHTML(['ul',
    ['li', { 'style': 'color:red' }, 'First Item'],
    ['li', { 'title': 'Some hover text.', 'style': 'color:green' }, 'Second Item'],
]);

/json-ml/

    Package Sidebar

    Install

    npm i json-ml

    Weekly Downloads

    4

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • alexandergugel