{"name":"date-time","version":"0.1.0","description":"Pretty UTC datetime: 2014-01-09 06:46:01 UTC","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/date-time"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["datetime","date-time","date","utc","iso"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/date-time/issues"},"homepage":"https://github.com/sindresorhus/date-time","_id":"date-time@0.1.0","dist":{"shasum":"958c71147c0acebde3d1e07a83e1ce7b423c3132","tarball":"http://registry-npm.ywwl.com/date-time/download/date-time-0.1.0.tgz","integrity":"sha512-VixVB/dSFPaNxraTCtmrV5A+sXDP7+GTHCBYOImrVdlfqHj5/lZ5caQCk4gx/fLxh6Iwc3rAuuNbJEJGeOtmxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICjV3LdF2WvKeDgtQK4w+mnZs3iWXcxdBsiT67XwNELmAiAaIAuoFUfq9RGMP2w4fERp2Op5cnSQ8Q8snXPh9rzxBA=="}],"size":738,"noattachment":false,"key":"/date-time/-/date-time-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# date-time\n\n> Pretty datetime: `2014-01-09 06:46:01`\n\n## Install\n\n```\n$ npm install date-time\n```\n\n## Usage\n\n```js\nimport dateTime from 'date-time';\n\ndateTime();\n//=> '2017-05-20 17:07:05'\n\ndateTime({date: new Date(1989, 2, 4, 10)});\n//=> '1989-03-04 09:00:00'\n\ndateTime({showTimeZone: true});\n//=> '2017-05-20 17:07:05 UTC+7'\n\ndateTime({local: false});\n//=> '2017-05-20 10:07:05'\n\ndateTime({local: false, showTimeZone: true});\n//=> '2017-05-20 10:07:05 UTC'\n\ndateTime({showMilliseconds: true});\n//=> '2017-05-20 17:07:05 6ms'\n```\n\n## API\n\n### dateTime(options?)\n\n### options\n\nType: `object`\n\n#### date\n\nType: `Date`\\\nDefault: `new Date()`\n\nCustom date.\n\n#### local\n\nType: `boolean`\\\nDefault: `true`\n\nShow the date in the local time zone.\n\n#### showTimeZone\n\nType: `boolean`\\\nDefault: `false`\n\nShow the UTC time zone postfix.\n\n#### showMilliseconds\n\nType: `boolean`\\\nDefault: `false`\n\nShow the milliseconds in the date if any.\n","publish_time":1389250346589,"_cnpm_publish_time":1389250346589,"dist-tags":{"latest":"4.0.0"}}