UNPKG

894 BJavaScriptView Raw
1#!/usr/bin/env node
2
3'use strict';
4// @ts-check
5// ==================================================================================
6// cli.js
7// ----------------------------------------------------------------------------------
8// License: MIT
9// ==================================================================================
10
11// ----------------------------------------------------------------------------------
12// Dependencies
13// ----------------------------------------------------------------------------------
14const si = require('./index');
15
16// ----------------------------------------------------------------------------------
17// Main
18// ----------------------------------------------------------------------------------
19(function() {
20 si.getStaticData().then(
21 (data => {
22 data.time = si.time();
23 console.log(JSON.stringify(data, null, 2));
24 }
25 ));
26})();