UNPKG
hygen
Version:
latest (6.2.11)
6.2.11
6.2.10
6.2.9
6.2.8
6.2.7
6.2.6
6.2.5
6.2.4
6.2.3
6.2.2
6.2.1
6.2.0
6.1.5
6.1.4
6.1.3
6.1.2
6.1.1
6.1.0
6.0.4
6.0.3
6.0.2
6.0.0
5.0.3
5.0.2
5.0.1
4.0.11
4.0.9
4.0.8
4.0.7
4.0.5
4.0.4
4.0.2
4.0.1
3.0.0
2.1.2
2.1.1
2.1.0
2.0.4
2.0.3
1.6.2
1.6.1
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.29
1.4.28
1.4.27
1.4.26
1.4.25
1.4.24
1.4.23
1.4.22
1.4.21
1.4.20
1.4.19
1.4.17
1.4.16
1.4.15
1.4.14
1.4.12
1.4.11
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.3
1.4.1
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
The scalable code generator that saves you time.
hygen
/
src
/
__tests__
/
metaverse
/
hygen-templates
/
_templates
/
conditional-rendering
/
new
/
conditional.ejs.t
8 lines
(6 loc)
•
192 B
text/troff
View Raw
1
2
3
4
5
6
7
8
---
to:
"<%= notGiven.length > 0 ? 'given/conditional/shouldnt-be-here' : null %>"
---
this
should
not
render
itself
because
the
'notGiven'
variable
was
never
given
and
'to'
results
in
null.