1.0.4 • Published 8 years ago

cachebuster v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

cachebuster

Command line tool to generate a file containing file hashes.

Installation

npm install cachebuster

Usage

cachebuster php file.ext file2.ext file3.ext > cachebuster.php
cachebuster json file.ext file2.ext file3.ext > cachebuster.json

Supported types:

php json

Example output:

<?php // Generated file; do not edit.
return array(
	'file.ext' => 'a6fdaad815a0d9433c1e194b2bbf0249',
	'file2.ext' => '94d2cba10cbc4575ffb05f77f22202ae',
	'file3.ext' => '1d00112c392a6bab528c7e6d38b89487'
);
{
	"//": "Generated file; do not edit."
	"file.ext": "a6fdaad815a0d9433c1e194b2bbf0249",
	"file2.ext": "94d2cba10cbc4575ffb05f77f22202ae",
	"file3.ext": "1d00112c392a6bab528c7e6d38b89487"
}
1.0.4

8 years ago

1.0.3

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.1

8 years ago