{"library":"jstz","type":"library","category":null,"description":"JSTZ is a JavaScript library designed for client-side timezone detection within a user's browser, returning an IANA zone info key (e.g., 'America/Los_Angeles'). It is currently at version 2.1.1. As an unofficial fork of the original `pellepim/jstimezonedetect` project, its primary differentiator is enabling installation and usage via NPM for module-based environments (like Webpack or Browserify), as the original focused on CDN distribution. While there isn't a strict, frequent release cadence, updates have addressed specific bugs and improved TypeScript definitions. It's often used in conjunction with server-side frameworks or other date-time parsing libraries like Moment Timezone to determine the user's local timezone without requiring user input.","language":"javascript","status":"maintenance","version":"2.1.1","tags":["javascript","time","timezone","tz","moment","moment-timezone","date","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install jstz","imports":["import jstz from 'jstz';","const timezone = jstz.determine();","const timezoneName = timezone.name();"]},{"cmd":"yarn add jstz","imports":[]},{"cmd":"pnpm add jstz","imports":[]}],"homepage":null,"github":"https://github.com/iansinnott/jstz","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/jstz","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/jstz/compatibility"}}