1.0.5 • Published 9 years ago

dateversion v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

#dateversion A node program that generate a single .js that sets a global variable with the current date and time.

Usefull for generating cache busting parameters

Run the program:

node node_modules/dateversion/dateversion "version.js" "app.version"

And the "version.js" file will be generated with:

var app = app || { };
app.version = '20160402T175655';

##Install me!

npm install dateversion 

Run without arguments for help:

node node_modules/dateversion/dateversion.js

Or with arguments

node node_modules/dateversion/dateversion.js [filename] [variableName]
1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago