Skip to content

Commit 2e4fde0

Browse files
author
daniel-lundin
committed
Added banner.js script
1 parent 31b211c commit 2e4fde0

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

banner.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const pjson = require('./package.json');
2+
const moment = require('moment');
3+
const version = pjson.version
4+
const now = moment().format('YYYY-MM-DD');
5+
6+
console.log(`/* snabbt.js Version: ${version} Build date: ${now} (c) 2015 Daniel Lundin @license MIT */`);

0 commit comments

Comments
 (0)