{"name":"date-time","version":"1.0.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":"*"},"gitHead":"b9bf57da4f4f94bf3bc7cfe281e697e02da52044","bugs":{"url":"https://github.com/sindresorhus/date-time/issues"},"homepage":"https://github.com/sindresorhus/date-time","_id":"date-time@1.0.0","_shasum":"b28ffe69bc598ed23641e3aac0448f1abe6adbbf","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"b28ffe69bc598ed23641e3aac0448f1abe6adbbf","tarball":"http://registry-npm.ywwl.com/date-time/download/date-time-1.0.0.tgz","integrity":"sha512-eknCPs8RaQ6zhFeDf18tikzgbkQZOvODl8i5oU79t9R/q7YQtB2AIuXWT1l54t8g4wxW6W0rx8P5RVVxJcTZKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGZ2iavca/mw70ob2rDd7ILOq4jMjQzvv1CAHMqeGT7KAiB1ORzwiOxtAR4TYMHq6fUdX44hAhqECMoFsQRY3yrdqA=="}],"size":782,"noattachment":false,"key":"/date-time/-/date-time-1.0.0.tgz"},"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":1407948860263,"_cnpm_publish_time":1407948860263,"dist-tags":{"latest":"4.0.0"}}