UNPKG
herbert
Version:
latest (2.0.0)
2.0.0
1.0.0
:shrug:
github.com/herberthenrique/herbert
herberthenrique/herbert
herbert
/
src
/
index.js
11 lines
(7 loc)
•
191 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env node
'use strict'
;
const
path =
require
(
'path'
);
const
importJsx =
require
(
'import-jsx'
);
const
{ h, render } =
require
(
'ink'
);
const
ui =
importJsx
(
'./ui'
);
render
(
h
(ui));