{"_id":"@below43/local-iso-timestamp","name":"@below43/local-iso-timestamp","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.4":{"name":"@below43/local-iso-timestamp","version":"1.0.4","description":"A simple utility to get the current local date and time in ISO format with timezone offset.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/below43/local-iso-timestamp.git"},"keywords":["date","time","iso","local","timezone"],"author":{"name":"Andrew Drake","email":"andrew@drake.nz"},"license":"MIT","bugs":{"url":"https://github.com/below43/local-iso-timestamp/issues"},"homepage":"https://github.com/below43/local-iso-timestamp#readme","dependencies":{"@types/node":"^22.7.5"},"devDependencies":{"mocha":"^11.1.0"},"_id":"@below43/local-iso-timestamp@1.0.4","gitHead":"a7ea5dc33d99a0c5d70ed149d216a0f9f2717a63","types":"./index.d.ts","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-YKYDGkXrt7IW94m1ldOa/HBa7Qzd+OKVU+vZTQcDXTWtNGjD4vZ9r4GbDDu5U8kuhF5Y3NamCZxuh+GKJh+tEQ==","shasum":"7a9a53cff48096ec09f8af8f8c788aa7384488bd","tarball":"https://registry.npmjs.org/@below43/local-iso-timestamp/-/local-iso-timestamp-1.0.4.tgz","fileCount":6,"unpackedSize":6132,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCDMLWmT6PDGsD2d1BUIB/mHbG5/k/deYfDbaLd9qXVogIhAPeLy2KsFMwgtMYKwoJSLRCw/iHzfxrm2sfyUXtdRUD+"}]},"_npmUser":{"name":"below43","email":"andrew@below43.com"},"directories":{},"maintainers":[{"name":"below43","email":"andrew@below43.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/local-iso-timestamp_1.0.4_1764838609307_0.34460837871807715"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-04T08:56:49.158Z","1.0.4":"2025-12-04T08:56:49.450Z","modified":"2025-12-04T08:56:49.795Z"},"maintainers":[{"name":"below43","email":"andrew@below43.com"}],"description":"A simple utility to get the current local date and time in ISO format with timezone offset.","homepage":"https://github.com/below43/local-iso-timestamp#readme","keywords":["date","time","iso","local","timezone"],"repository":{"type":"git","url":"git+https://github.com/below43/local-iso-timestamp.git"},"author":{"name":"Andrew Drake","email":"andrew@drake.nz"},"bugs":{"url":"https://github.com/below43/local-iso-timestamp/issues"},"license":"MIT","readme":"# local-iso-timestamp\n\nA simple utility to get the current local date and time in ISO 8601 format with timezone offset.\n\n## Installation\n\n```bash\nnpm install local-iso-timestamp\n```\n\n## Usage\n### JavaScript\n```javascript\nconst { getLocalIsoTimestamp } = require('local-iso-timestamp');\nconsole.log(getLocalIsoTimestamp());\n// Output: 2024-10-12T22:15:16.521+13:00 (ISO 8601 format, depending on your local timezone)\n\nconst date = new Date('2023-10-12T22:15:16.521Z');\nconsole.log(getLocalIsoTimestamp(date));\n// Output: 2023-10-12T22:15:16.521+13:00 (ISO 8601 format, depending on your local timezone)\n```\n### TypeScript\n```typescript\nimport { getLocalIsoTimestamp } from 'local-iso-timestamp';\nconsole.log(getLocalIsoTimestamp());\n// Output: 2024-10-12T22:15:16.521+13:00 (ISO 8601 format, depending on your local timezone)\n\nconst date = new Date('2023-10-12T22:15:16.521Z');\nconsole.log(getLocalIsoTimestamp(date));\n// Output: 2023-10-12T22:15:16.521+13:00 (ISO 8601 format, depending on your local timezone)\n```\n\n## Source\n[GitHub](https://github.com/below43/local-iso-timestamp)\n\n## License\n[MIT License](/LICENSE)\n","readmeFilename":"README.md","_rev":"1-4aabfc401207d117e8ffb683f291e20c"}