{"_id":"grunt-timestamp","_rev":"40-cc67f0b94310a921fba5d2a015a3ea8d","name":"grunt-timestamp","description":"Add timestamp to avoid the cache. (.js/.css files)","dist-tags":{"latest":"0.0.8"},"versions":{"0.1.0":{"name":"grunt-timestamp","description":"add timestamp to avoid the cache","version":"0.1.0","homepage":"https://github.com/hzlzh/grunt-timestamp","author":{"name":"hzlzh","email":"hzlzh.dev@gmail.com","url":"https://zlz.im/"},"repository":{"type":"git","url":"git://github.com/hzlzh/grunt-timestamp.git"},"bugs":{"url":"https://github.com/hzlzh/grunt-timestamp/issues"},"licenses":[{"type":"MIT","url":"https://github.com/hzlzh/grunt-timestamp/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin"],"_id":"grunt-timestamp@0.1.0","dist":{"shasum":"4a2118c62ffe6e6004a23ad3134c7e927599404b","tarball":"https://registry.npmjs.org/grunt-timestamp/-/grunt-timestamp-0.1.0.tgz","integrity":"sha512-9dkv+WEYrJB0RLLDptZ7KW/je0Jc2p7QMHNZf1TFe0jn2zYDmXLgwuCJCBD9grWaEEC0zpyki/c77Lgz96GprQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTr8u7w1WneKky4/KE1HcS3Y3vjyHtcizbowuWwP8wSQIgGkUvjc7+cLdiyZeDwsAQMzqLlvFOAm//5i1eHCDtiRg="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"hzlzh","email":"hzlzh.dev@gmail.com"},"maintainers":[{"name":"hzlzh","email":"hzlzh.dev@gmail.com"}]},"0.0.1":{"name":"grunt-timestamp","description":"add timestamp to avoid the cache.","version":"0.0.1","homepage":"https://github.com/hzlzh/grunt-timestamp","author":{"name":"hzlzh","email":"hzlzh.dev@gmail.com","url":"http://hzlzh.io/"},"repository":{"type":"git","url":"git://github.com/hzlzh/grunt-timestamp.git"},"bugs":{"url":"https://github.com/hzlzh/grunt-timestamp/issues"},"licenses":[{"type":"MIT","url":"https://github.com/hzlzh/grunt-timestamp/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.4.1","bash-color":"0.0.x"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-clean":"^0.5.0","bash-color":"0.0.x"},"keywords":["gruntplugin","timestamp","time","stamp","name","css","js"],"_id":"grunt-timestamp@0.0.1","dist":{"shasum":"c0acd45c41414d81124ace88996a905e036cf838","tarball":"https://registry.npmjs.org/grunt-timestamp/-/grunt-timestamp-0.0.1.tgz","integrity":"sha512-yM/AzpSb4oPN37WgBdWKp01xNFDKU2OR84ZESE34JWfv6Cv0UY8NjIcYtskOg3mlOjuCzrTNA8PGt89mTWopog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6wmshxlvPU9WRE4+d2sCW75WeNAC9Ox6pE/iSEn6VngIhAIrkJbSaNj8k/L5xNZhFVPc6kLPJaHtb1qO/IBTM+DAJ"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hzlzh","email":"hzlzh.dev@gmail.com"},"maintainers":[{"name":"hzlzh","email":"hzlzh.dev@gmail.com"}]},"0.0.2":{"name":"grunt-timestamp","description":"add timestamp to avoid the cache.","version":"0.0.2","homepage":"https://github.com/hzlzh/grunt-timestamp","author":{"name":"hzlzh","email":"hzlzh.dev@gmail.com","url":"http://hzlzh.io/"},"repository":{"type":"git","url":"git://github.com/hzlzh/grunt-timestamp.git"},"bugs":{"url":"https://github.com/hzlzh/grunt-timestamp/issues"},"licenses":[{"type":"MIT","url":"https://github.com/hzlzh/grunt-timestamp/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.4.1","bash-color":"0.0.x"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-clean":"^0.5.0","bash-color":"0.0.x"},"keywords":["gruntplugin","timestamp","time","stamp","name","css","js"],"_id":"grunt-timestamp@0.0.2","dist":{"shasum":"77b90eef6c44bee145b7a4b3dd711cc8cea90373","tarball":"https://registry.npmjs.org/grunt-timestamp/-/grunt-timestamp-0.0.2.tgz","integrity":"sha512-AMKHBYfaXyJt/H7dJEcMekG9GPUI31CapLR2hpuRNCUxydQ/L9SktKXkcwQn83So8NI80ALYFPqLn26ZcPQBlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdb9jzYUdFR/kKjVKoRyDVpIDb4NDJlV07fZIOnVHXAQIgC84VkwLXthKwIAYLAW0VfTy6K1zhMLY2PIZCA7Vow1k="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hzlzh","email":"hzlzh.dev@gmail.com"},"maintainers":[{"name":"hzlzh","email":"hzlzh.dev@gmail.com"}]},"0.0.3":{"name":"grunt-timestamp","description":"add timestamp to avoid the cache.","version":"0.0.3","homepage":"https://github.com/hzlzh/grunt-timestamp","author":{"name":"hzlzh","email":"hzlzh.dev@gmail.com","url":"http://hzlzh.io/"},"repository":{"type":"git","url":"git://github.com/hzlzh/grunt-timestamp.git"},"bugs":{"url":"https://github.com/hzlzh/grunt-timestamp/issues"},"licenses":[{"type":"MIT","url":"https://github.com/hzlzh/grunt-timestamp/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.4.1","bash-color":"0.0.x"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-clean":"^0.5.0","bash-color":"0.0.x"},"keywords":["gruntplugin","timestamp","time","stamp","name","css","js"],"_id":"grunt-timestamp@0.0.3","dist":{"shasum":"6cb0dcd64fa5f3c87de4b78b486c5fde381cd0e5","tarball":"https://registry.npmjs.org/grunt-timestamp/-/grunt-timestamp-0.0.3.tgz","integrity":"sha512-cNXL6KysDX4LKYFG8I+vFg7XzeNIQPCzsXEpA9ZwyEdJwYqhc2dbz9ytA2zG4eDCrr/zqIHBdLKR+SxX1oemkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExZywuSdyfTfxIZbYSO991SZmJvEHWVDzQeh8gF6Ul7AiEAuP01wKB3b0h6+UAY/hrR2aIu8D55pSqCQHgBtSBKScY="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hzlzh","email":"hzlzh.dev@gmail.com"},"maintainers":[{"name":"hzlzh","email":"hzlzh.dev@gmail.com"}]},"0.0.4":{"name":"grunt-timestamp","description":"Add timestamp to avoid the cache. (.js/.css files)","version":"0.0.4","homepage":"https://github.com/hzlzh/grunt-timestamp","author":{"name":"hzlzh","email":"hzlzh.dev@gmail.com","url":"http://hzlzh.io/"},"repository":{"type":"git","url":"git://github.com/hzlzh/grunt-timestamp.git"},"bugs":{"url":"https://github.com/hzlzh/grunt-timestamp/issues"},"licenses":[{"type":"MIT","url":"https://github.com/hzlzh/grunt-timestamp/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.4.1","bash-color":"0.0.x"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-clean":"^0.5.0","bash-color":"0.0.x"},"keywords":["gruntplugin","timestamp","time","stamp","name","css","js"],"_id":"grunt-timestamp@0.0.4","dist":{"shasum":"691dce85224066d1d9585974ddf4068ddc390e50","tarball":"https://registry.npmjs.org/grunt-timestamp/-/grunt-timestamp-0.0.4.tgz","integrity":"sha512-PMXbojiVDnVyyIhdsH0SO9bgixe5msoQGU+23xHjDmPgtqrgOC0zM5uYrzNBjUANOColPZFsTKokgYs5PDqkXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd1SVre9qWXiSZUyHbInlFFN3+xObUPg7AQv2Kp3vacQIhAMPcAyLeS3JXH99T+6ctBPotZDSM7dSQKM8H8LZD/qwD"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hzlzh","email":"hzlzh.dev@gmail.com"},"maintainers":[{"name":"hzlzh","email":"hzlzh.dev@gmail.com"}]},"0.0.5":{"name":"grunt-timestamp","description":"Add timestamp to avoid the cache. (.js/.css files)","version":"0.0.5","homepage":"https://github.com/hzlzh/grunt-timestamp","author":{"name":"hzlzh","email":"hzlzh.dev@gmail.com","url":"http://hzlzh.io/"},"repository":{"type":"git","url":"git://github.com/hzlzh/grunt-timestamp.git"},"bugs":{"url":"https://github.com/hzlzh/grunt-timestamp/issues"},"licenses":[{"type":"MIT","url":"https://github.com/hzlzh/grunt-timestamp/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.4.1","bash-color":"0.0.x"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-clean":"^0.5.0","bash-color":"0.0.x"},"keywords":["gruntplugin","timestamp","time","stamp","name","css","js"],"_id":"grunt-timestamp@0.0.5","dist":{"shasum":"607d958da7e186dabeb5f6f22e477b3be2158c53","tarball":"https://registry.npmjs.org/grunt-timestamp/-/grunt-timestamp-0.0.5.tgz","integrity":"sha512-ZKPxpi7VJlHd0FTiZTN3Nd4N2SI7PujYAv8u0yq6NaazYK7NBMVvyg0wZ+cGt9QPT0yoTpZCpcnRIbFH+ulpaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGv7nG9NOKBNjCcqyiRO3xj9K5UMEr5CPZJF+HlaQXTuAiBgWfok0e0KzNUdCKIlO5UUMCrPdHBYXGuvYHQyAsSwsA=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hzlzh","email":"hzlzh.dev@gmail.com"},"maintainers":[{"name":"hzlzh","email":"hzlzh.dev@gmail.com"}]},"0.0.7":{"name":"grunt-timestamp","description":"Add timestamp to avoid the cache. (.js/.css files)","version":"0.0.7","homepage":"https://github.com/hzlzh/grunt-timestamp","author":{"name":"hzlzh","email":"hzlzh.dev@gmail.com","url":"http://hzlzh.io/"},"repository":{"type":"git","url":"git://github.com/hzlzh/grunt-timestamp.git"},"bugs":{"url":"https://github.com/hzlzh/grunt-timestamp/issues"},"licenses":[{"type":"MIT","url":"https://github.com/hzlzh/grunt-timestamp/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.4.1","bash-color":"0.0.x"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-clean":"^0.5.0","bash-color":"0.0.x"},"keywords":["gruntplugin","timestamp","time","stamp","name","css","js"],"_id":"grunt-timestamp@0.0.7","dist":{"shasum":"f89228df320faa6c5c51780fe1d100132d3803b5","tarball":"https://registry.npmjs.org/grunt-timestamp/-/grunt-timestamp-0.0.7.tgz","integrity":"sha512-QtGlC2wCWwPabjT7QqFsfFPS6eBMznvgVddHYH5IlXEEyQoc1DmgwdVvTvJH+F56USD6zxCHSgmdCgOwNUfxjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwudBSSumFm2v3be2/WFIioj9wHaEi+QwYqJ5QRZGdZgIhAN7mQmCJTT3LU18yA2F51XmwTZKBzirloKlj916zN/lL"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hzlzh","email":"hzlzh.dev@gmail.com"},"maintainers":[{"name":"hzlzh","email":"hzlzh.dev@gmail.com"}]},"0.0.8":{"name":"grunt-timestamp","description":"Add timestamp to avoid the cache. (.js/.css files)","version":"0.0.8","homepage":"https://github.com/hzlzh/grunt-timestamp","author":{"name":"hzlzh","email":"hzlzh.dev@gmail.com","url":"http://hzlzh.io/"},"repository":{"type":"git","url":"git://github.com/hzlzh/grunt-timestamp.git"},"bugs":{"url":"https://github.com/hzlzh/grunt-timestamp/issues"},"licenses":[{"type":"MIT","url":"https://github.com/hzlzh/grunt-timestamp/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.4.1","bash-color":"0.0.x"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-clean":"^0.5.0","bash-color":"0.0.x"},"keywords":["gruntplugin","timestamp","time","stamp","name","css","js"],"_id":"grunt-timestamp@0.0.8","dist":{"shasum":"989a6c56384a68be6678ed6c5099cfaf451a58ba","tarball":"https://registry.npmjs.org/grunt-timestamp/-/grunt-timestamp-0.0.8.tgz","integrity":"sha512-f2P86nCQ1lbFwam86XD1Q8E4FWvBIBiVOuF7Xo60YAZDmJaEjoLl3wvwH9XtklImYLTsPQY7jriC3xMMunr/eQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzx85WMFoMUQrmc49/VRg8Z5FNAVAv15X2BTS+dYe7qwIhAODMpCg7hCyX4J4h7cx12SzR27QIqW1Fh1v7QC22lK8a"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hzlzh","email":"hzlzh.dev@gmail.com"},"maintainers":[{"name":"hzlzh","email":"hzlzh.dev@gmail.com"}]}},"readme":"## grunt-timestamp [![NPM version](https://badge.fury.io/js/grunt-timestamp.png)](http://badge.fury.io/js/grunt-timestamp) [![devDependency Status](https://david-dm.org/hzlzh/grunt-timestamp/dev-status.png?theme=shields.io)](https://david-dm.org/hzlzh/grunt-timestamp#info=devDependencies)\n\n> Add timestamp & MD5 hash to avoid file cache. (.js/.css files)\n\n**NPM Home Page:** [https://www.npmjs.org/package/grunt-timestamp](https://www.npmjs.org/package/grunt-timestamp)\n\n## Getting Started\n\nThis plugin requires Grunt ~0.4.1\n\nIf you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n\tnpm install grunt-timestamp --save-dev\n\t\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n\tgrunt.loadNpmTasks('grunt-timestamp');\n\n## The \"timestamp\" task\n\nIn your project's Gruntfile, add a section named timestamp to the data object passed into grunt.initConfig().\n\n```javascript\ngrunt.initConfig({\n  timestamp: {\n      default: {\n        files: [{\n          // Use dynamic extend name\n          expand: true,\n          // Open source dir\n          cwd: 'test/fixtures',\n          // Match files\n          src: ['*.css', '*.js'],\n          // Output files\n          dest: 'test/tmp',\n          // Set extend middle name\n          ext: '.timestamp'\n        }],\n        options: {\n          // Timestamp display text\n          'timestampName': 'Timetamp',\n          // Date format\n          'timestampFormat': 'yyyy/mm/dd HH:MM:ss',\n          // Add timestamp at the end of the files' content(.css/.js).\n          'timestampType': 'md5',\n          // Timestamp type like time(2014/04/02 22:17:07) | md5/sha1/ha256/sha512).\n          'fileEndStamp': true,\n          // Add timestamp at images of CSS style.\n          'cssImgStamp': true,\n          // Rename file name with timestamp inside.\n          'fileNameStamp': true\n        }\n      }\n    }\n    })\n```\n\n## Release History\n\n* 0.0.8 move string to the front.\n* 0.0.7 Fix dest path & remove extra log\n* 0.0.6 Add more type like (sha1 | ha256 | sha512)\n* 0.0.5 `MD5` string stamp supported\n* 0.0.4 Add support to `.js` file\n* 0.0.1 First Release\n\n## Coming soon\n\n* Add timestamp at images of CSS style.\n* Rename file name with timestamp inside.\n\n## License\n\n[MIT](http://rem.mit-license.org/)\n","maintainers":[{"name":"hzlzh","email":"hzlzh.dev@gmail.com"}],"time":{"modified":"2022-06-18T16:09:26.584Z","created":"2013-08-16T08:47:53.726Z","0.1.0":"2013-08-16T08:47:58.972Z","0.0.1":"2014-04-02T14:57:45.908Z","0.0.2":"2014-04-02T15:08:32.792Z","0.0.3":"2014-04-02T15:13:24.334Z","0.0.4":"2014-04-02T15:20:08.200Z","0.0.5":"2014-04-03T02:38:35.220Z","0.0.7":"2014-04-03T09:16:20.577Z","0.0.8":"2014-08-07T08:50:07.404Z"},"author":{"name":"hzlzh","email":"hzlzh.dev@gmail.com","url":"http://hzlzh.io/"},"repository":{"type":"git","url":"git://github.com/hzlzh/grunt-timestamp.git"},"homepage":"https://github.com/hzlzh/grunt-timestamp","keywords":["gruntplugin","timestamp","time","stamp","name","css","js"],"bugs":{"url":"https://github.com/hzlzh/grunt-timestamp/issues"},"readmeFilename":"README.md","users":{"saymoon":true,"dbpoo":true,"hzlzh":true}}