1.0.5 • Published 8 years ago

dateversion v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago