{"_id":"@bluewaitor/mongoose-plugin-timestamp","_rev":"7-94cdd69cbbc84ca73979d78fe650cbf6","name":"@bluewaitor/mongoose-plugin-timestamp","description":"mongoose simple timestamp plugin","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@bluewaitor/mongoose-plugin-timestamp","version":"1.0.0","description":"mongoose simple timestamp plugin","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bluewaitor/mongoose-plugin-timestamp.git"},"author":{"name":"bluewaitor","email":"405622394@qq.com"},"license":"MIT","scripts":{"test":"mocha test.js"},"devDependencies":{"chai":"^3.5.0","mongoose":"^4.9.0"},"bugs":{"url":"https://github.com/bluewaitor/mongoose-plugin-timestamp/issues"},"homepage":"https://github.com/bluewaitor/mongoose-plugin-timestamp#readme","keywords":["mongoose","plugin","timestamp"],"gitHead":"99140afa0d9dd209844d8e4c5dc1d545edbcbf05","_id":"@bluewaitor/mongoose-plugin-timestamp@1.0.0","_shasum":"282b4c4f8334653b2430fcbb86a42879de14c1d2","_from":".","_npmVersion":"4.4.1","_nodeVersion":"7.7.1","_npmUser":{"name":"bluewaitor","email":"405622394@qq.com"},"dist":{"shasum":"282b4c4f8334653b2430fcbb86a42879de14c1d2","tarball":"https://registry.npmjs.org/@bluewaitor/mongoose-plugin-timestamp/-/mongoose-plugin-timestamp-1.0.0.tgz","integrity":"sha512-JJ9SW9SzSPoFr9alJ2qJ5cHDhwAEly+taOLxiB7KMSD4TalY3uJXqvyMKKzsVjImzalKUj1GtL58H0bD+SihcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgcbI5MrdDoC7swda27U1afVujnKifnUyJwLTWNObMfAiEAlEawNNUAQ3z8jCf95USm5plrKuKEsaRYsfhHJR+F0DM="}]},"maintainers":[{"name":"bluewaitor","email":"405622394@qq.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-plugin-timestamp-1.0.0.tgz_1489649447755_0.6356939396355301"}},"1.0.1":{"name":"@bluewaitor/mongoose-plugin-timestamp","version":"1.0.1","description":"mongoose simple timestamp plugin","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bluewaitor/mongoose-plugin-timestamp.git"},"author":{"name":"bluewaitor","email":"405622394@qq.com"},"license":"MIT","scripts":{"test":"mocha test.js"},"devDependencies":{"chai":"^3.5.0","mongoose":"^4.9.0"},"bugs":{"url":"https://github.com/bluewaitor/mongoose-plugin-timestamp/issues"},"homepage":"https://github.com/bluewaitor/mongoose-plugin-timestamp#readme","keywords":["mongoose","plugin","timestamp"],"gitHead":"58d1bf5533c14105921ee700bc3a55229ce64000","_id":"@bluewaitor/mongoose-plugin-timestamp@1.0.1","_shasum":"c684eb13f2b8ee2291bc51c400415ec1bb4a8b6c","_from":".","_npmVersion":"4.4.1","_nodeVersion":"7.7.1","_npmUser":{"name":"bluewaitor","email":"405622394@qq.com"},"dist":{"shasum":"c684eb13f2b8ee2291bc51c400415ec1bb4a8b6c","tarball":"https://registry.npmjs.org/@bluewaitor/mongoose-plugin-timestamp/-/mongoose-plugin-timestamp-1.0.1.tgz","integrity":"sha512-aZY7JFB2N9bUdlB4BJGUvi61VzHpoOwAVaualNoLojjg6zr1oEsnMPX4aWx32P3K4KxCT0BrsqWJ5F39BfmpDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnMdG/YgeZp/qIeN/hJztgpE/qzYdhyDztKq1nOCVGZwIhAPGx7ttt/SKFtFKHKpTz+R4oBaRu9uDLhsTlXFXqP5qg"}]},"maintainers":[{"name":"bluewaitor","email":"405622394@qq.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/mongoose-plugin-timestamp-1.0.1.tgz_1490164672640_0.4326284877024591"}},"1.0.2":{"name":"@bluewaitor/mongoose-plugin-timestamp","version":"1.0.2","description":"mongoose simple timestamp plugin","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bluewaitor/mongoose-plugin-timestamp.git"},"author":{"name":"bluewaitor","email":"405622394@qq.com"},"license":"MIT","scripts":{"test":"mocha test.js"},"devDependencies":{"chai":"^3.5.0","mongoose":"^4.9.0"},"bugs":{"url":"https://github.com/bluewaitor/mongoose-plugin-timestamp/issues"},"homepage":"https://github.com/bluewaitor/mongoose-plugin-timestamp#readme","keywords":["mongoose","plugin","timestamp"],"gitHead":"cf17809de8363898611297a198d3a87cc03acad2","_id":"@bluewaitor/mongoose-plugin-timestamp@1.0.2","_npmVersion":"5.3.0","_nodeVersion":"7.7.1","_npmUser":{"name":"bluewaitor","email":"405622394@qq.com"},"dist":{"integrity":"sha512-8PL+Fe2fvrfTB2e9/L6ztSA6yTLZX6YmmiqxnNu0Xfqx1kVKnb5LzdCk79Mu/m7gw0oQFd5uL01vjoNdixzCkw==","shasum":"6ab5b27e4d839b627df679287de29263a97b4254","tarball":"https://registry.npmjs.org/@bluewaitor/mongoose-plugin-timestamp/-/mongoose-plugin-timestamp-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVd8NmjjIimBQZmGRHFHmOuTeEQ9H/UZPdF5dxi7yabQIhAL/dFQkbr3/V1dFH+/FxkwBUIqvU1JFwXLYTH4KPz4XJ"}]},"maintainers":[{"name":"bluewaitor","email":"405622394@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-plugin-timestamp-1.0.2.tgz_1500980064784_0.890101182507351"}},"1.0.3":{"name":"@bluewaitor/mongoose-plugin-timestamp","version":"1.0.3","description":"mongoose simple timestamp plugin","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bluewaitor/mongoose-plugin-timestamp.git"},"author":{"name":"bluewaitor","email":"405622394@qq.com"},"license":"MIT","scripts":{"test":"mocha test.js"},"devDependencies":{"chai":"^3.5.0","mongoose":"^4.9.0"},"bugs":{"url":"https://github.com/bluewaitor/mongoose-plugin-timestamp/issues"},"homepage":"https://github.com/bluewaitor/mongoose-plugin-timestamp#readme","keywords":["mongoose","plugin","timestamp"],"gitHead":"99245d20a3ff8e2953ad7483a57b29e65e40ffcf","_id":"@bluewaitor/mongoose-plugin-timestamp@1.0.3","_npmVersion":"5.3.0","_nodeVersion":"7.7.1","_npmUser":{"name":"bluewaitor","email":"405622394@qq.com"},"dist":{"integrity":"sha512-S6bOmOfUEPfPQTFsdEAqNl9MTkYwQAnIVCcaiyFsQk9XqGCs/5uXL0bqi4A8FhvLhHTlG6XQCtNBBQ0ZIaGUug==","shasum":"8514b3b99bdc083b659a08bbfb2aa539f7da8643","tarball":"https://registry.npmjs.org/@bluewaitor/mongoose-plugin-timestamp/-/mongoose-plugin-timestamp-1.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRPf89MbIa/K75GpWbWkkCycZ4hwaiwTU0alqSg/nGFwIhAJpGdIAN14NHTlYiwCh5OlFKpS2Dc0fa2nZYT/Y4LbPQ"}]},"maintainers":[{"name":"bluewaitor","email":"405622394@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-plugin-timestamp-1.0.3.tgz_1501034844096_0.07346143573522568"}},"1.0.4":{"name":"@bluewaitor/mongoose-plugin-timestamp","version":"1.0.4","description":"mongoose simple timestamp plugin","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bluewaitor/mongoose-plugin-timestamp.git"},"author":{"name":"bluewaitor","email":"405622394@qq.com"},"license":"MIT","scripts":{"test":"mocha test.js"},"devDependencies":{"chai":"^3.5.0","mongoose":"^4.9.0"},"bugs":{"url":"https://github.com/bluewaitor/mongoose-plugin-timestamp/issues"},"homepage":"https://github.com/bluewaitor/mongoose-plugin-timestamp#readme","keywords":["mongoose","plugin","timestamp"],"gitHead":"704da95d00d4990d162cfbbdfddedba13f03a0da","_id":"@bluewaitor/mongoose-plugin-timestamp@1.0.4","_npmVersion":"5.3.0","_nodeVersion":"7.7.1","_npmUser":{"name":"bluewaitor","email":"405622394@qq.com"},"dist":{"integrity":"sha512-pr/PoTwWbfSuLi0zrDrO9ixP55n75Jzudb4DT6ofowQnFF3KhLijEg3BUMldlp+ISsixexJRHipyeyV82fc2EQ==","shasum":"9b3fb3bba8df08d021466c9e47d604a33e62abd9","tarball":"https://registry.npmjs.org/@bluewaitor/mongoose-plugin-timestamp/-/mongoose-plugin-timestamp-1.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9Iqcy7TqgP/bMyZmbS82S3zeIywzRb2OdbWtKRz9XBwIhAJjDVoZ4TsGRjcsbEf7gCrRpWAU0at76jeqit4c8sTUR"}]},"maintainers":[{"name":"bluewaitor","email":"405622394@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-plugin-timestamp-1.0.4.tgz_1501036857789_0.5469504152424634"}}},"readme":"# mongoose-plugin-timestamps\r\nmongoose plugin auto create timestamp and update timestamp.\r\n\r\n# Usage\r\n\r\n## install\r\n\r\n`npm install @bluewaitor/mongoose-plugin-timestamp --save`\r\n\r\n## use in global\r\n\r\n```\r\n    const mongoose = require('mongoose');\r\n    const timestampPlugin = require('@bluewaitor/mongoose-plugin-timestamp');\r\n\r\n    mongoose.plugin(timestampPlugin, {index: true});\r\n```\r\n\r\n\r\n### use in schema\r\n\r\n```\r\n    const someSchema = mongoose.Schema({});\r\n    someSchema.plugin(timestampPlugin, {index: true});\r\n```\r\n\r\n### properties\r\nthis plugin will create two properties `created` and `updated` in models. custom properties not support yet.\r\n","maintainers":[{"name":"bluewaitor","email":"405622394@qq.com"}],"time":{"modified":"2022-06-12T15:23:34.041Z","created":"2017-03-16T07:30:47.976Z","1.0.0":"2017-03-16T07:30:47.976Z","1.0.1":"2017-03-22T06:37:54.660Z","1.0.2":"2017-07-25T10:54:25.049Z","1.0.3":"2017-07-26T02:07:24.169Z","1.0.4":"2017-07-26T02:40:57.902Z"},"homepage":"https://github.com/bluewaitor/mongoose-plugin-timestamp#readme","keywords":["mongoose","plugin","timestamp"],"repository":{"type":"git","url":"git+https://github.com/bluewaitor/mongoose-plugin-timestamp.git"},"author":{"name":"bluewaitor","email":"405622394@qq.com"},"bugs":{"url":"https://github.com/bluewaitor/mongoose-plugin-timestamp/issues"},"license":"MIT","readmeFilename":"README.md"}