Comparing version 0.0.1 to 0.0.2
@@ -0,3 +1,7 @@ | ||
0.0.2 - September 30, 2013 | ||
-------------------------- | ||
* expose `alias` and `remove` | ||
0.0.1 - September 30, 2013 | ||
-------------------------- | ||
:sparkles: |
16
index.js
@@ -18,2 +18,16 @@ | ||
/** | ||
* Expose `alias`. | ||
*/ | ||
exports.alias = alias; | ||
/** | ||
* Expose `remove`. | ||
*/ | ||
exports.remove = remove; | ||
/** | ||
* Cache bust a given `file`. | ||
@@ -34,3 +48,3 @@ * | ||
/** | ||
* Return the cache-busted name for a `file`. | ||
* Return the cache-busted filename for a given `file`. | ||
* | ||
@@ -37,0 +51,0 @@ * @param {String} file |
{ | ||
"name": "cache-bust", | ||
"repository": "git://github.com/segmentio/cache-bust.git", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Create cache-busted versions of a file using the MD5 hash of the file's contents.", | ||
@@ -6,0 +6,0 @@ "keywords": ["cache", "bust", "contents", "md5"], |
@@ -32,4 +32,12 @@ # cache-bust | ||
### cacheBust.remove(file) | ||
Remove any existing cache-busted versions of a `file`. | ||
### cacheBust.alias(file) | ||
Return the cache-busted alias for a given `file`. | ||
## License | ||
MIT |
5118
151
43