UNPKG
xcraft-jsonviz
Version:
latest (0.3.0)
0.3.0
A Node.js module that converts JSON to DOT language
github.com/Xcraft-Inc/jsonviz
Xcraft-Inc/jsonviz
xcraft-jsonviz
/
html.class.js
21 lines
(17 loc)
•
278 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"use strict"
;
function
HTML
(
content
) {
if
(
this
instanceof
HTML
) {
this
.
content
= content ||
""
; }
else
{
return
new
HTML
(content); } }
HTML
.
prototype
.
toString
=
function
(
) {
return
this
.
content
; };
exports
=
module
.
exports
=
HTML
;