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
/
raw.class.js
20 lines
(17 loc)
•
273 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"use strict"
;
function
Raw
(
content
) {
if
(
this
instanceof
Raw
) {
this
.
content
= content ||
""
; }
else
{
return
new
Raw
(content); } }
Raw
.
prototype
.
toString
=
function
(
) {
return
this
.
content
; };
exports
=
module
.
exports
=
Raw
;