UNPKG
statiq
Version:
latest (0.7.4)
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.4
0.6.3
0.6.2
0.6.1
0.5.1
0.5.0
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.1
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
A static website generator
github.com/ezakto/statiq
ezakto/statiq
statiq
/
test.js
12 lines
(9 loc)
•
240 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
statiq =
require
(
'./lib/statiq'
);
const
statiqfile =
require
(
'./statiqfile'
);
const
site =
statiq
();
statiqfile
(site); site .
scan
() .
then
(
() =>
site.
buildAll
()) .
then
(
() =>
site.
writeAll
()) .
then
(
() =>
site.
handleAssets
());