{"name":"time-zone","version":"1.0.0","description":"Pretty time zone: `+2` or `-9:30`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/time-zone.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["timezone","utc","time","pretty","human","date","iso","zone"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"1d7405196df8b823d475868c63132cfd65de9aaf","bugs":{"url":"https://github.com/sindresorhus/time-zone/issues"},"homepage":"https://github.com/sindresorhus/time-zone#readme","_id":"time-zone@1.0.0","_shasum":"99c5bf55958966af6d06d83bdf3800dc82faec5d","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"99c5bf55958966af6d06d83bdf3800dc82faec5d","tarball":"http://registry-npm.ywwl.com/time-zone/download/time-zone-1.0.0.tgz","integrity":"sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ68wgY3dQcv5u76qSU92HayK+ZyeL4kDu38bCenRRCgIhAIgxL17IT/FUPkkW4ij0XVvLVoZg59GfBKhGhzZZxHVF"}],"size":1639,"noattachment":false,"key":"/time-zone/-/time-zone-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/time-zone-1.0.0.tgz_1484300660520_0.6081881562713534"},"directories":{},"readme":"# time-zone\n\n> Pretty [time zone](https://en.wikipedia.org/wiki/Time_zone): `+2` or `-9:30`\n\n## Install\n\n```\n$ npm install time-zone\n```\n\n## Usage\n\n```js\nimport timeZone from 'time-zone';\n\n// Current time zone (in Norway)\ntimeZone();\n//=> '+2'\n\n// Time zone in February (in Norway)\ntimeZone(new Date(2016, 1, 1));\n//=> '+1'\n\n// Current time zone (in French Polynesia)\ntimeZone();\n//=> '-9:30'\n```\n\n## API\n\n### timeZone(date?)\n\n#### date\n\nType: `Date`\\\nDefault: `new Date()`\n\nCustom date.\n","publish_time":1484300660736,"_cnpm_publish_time":1484300660736,"dist-tags":{"latest":"2.0.0"}}