html-to-alkali

1.0.1 • Public • Published

HTML to Alkali API converter tool

This tool converts HTML into JavaScript with Alkali API sintax.

For example:

<div>
    <span>Hello</span>
    <div>
        <span class='inner-span'>World</span>
    </div>
</div>

is converted to:

Div([
    Span('', 'Hello'),
    Div([
        Span('.inner-span', 'World')
    ])
])

How to use:

You can use it online here.

Testing:

$ npm install
$ npm test

Readme

Keywords

none

Package Sidebar

Install

npm i html-to-alkali

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • sergiocrisostomo