0.3.3 • Published 3 years ago

jsonhtmlfyer v0.3.3

Weekly downloads
1,987
License
ISC
Repository
github
Last release
3 years ago

jsonhtmlfyer

JSON TO HTML. Will be used in Nertivia (nertivia.tk) for html embeds for bots.

Install

npm i jsonhtmlfyer Note: If youre using this in the server (no renderer), install this aswell: npm i jsdom

Usage

const { jsonToHtml } = require("jsonhtmlfyer");


const res = jsonToHtml({
    tag: "div",
    styles: {
        backgroundImage: "google.com/owo.png",
    },
}, "IMAGEPROXY.com/")

console.log(res)

Will output:

<div style="background-image: url(IMAGEPROXY.com/google.com/owo.png);"></div>
0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.2.7

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.4

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.9

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.1

4 years ago