{"library":"timezone-mock","type":"library","category":null,"description":"A JavaScript library to mock the local timezone for testing purposes. Version 1.4.2 is current stable, with infrequent releases. It replaces the global Date constructor with a mocked version that behaves as if in a specified timezone, including DST transitions. Key differentiators: lightweight, no dependencies, supports multiple timezones (US/Pacific, US/Eastern, Brazil/East, UTC, Europe/London, Australia/Adelaide) and GMT offsets, and includes TypeScript types. Unlike full timezone libraries, it focuses solely on mocking for testing, not on timezone conversions or comprehensive data.","language":"javascript","status":"active","version":"1.4.2","tags":["javascript","timezone","mock","date","dst","daylight","saving","savings","time","typescript"],"last_verified":"Sat May 09","install":[{"cmd":"npm install timezone-mock","imports":["import { register } from 'timezone-mock'","import { unregister } from 'timezone-mock'","import { _Date } from 'timezone-mock'","import { options } from 'timezone-mock'"]},{"cmd":"yarn add timezone-mock","imports":[]},{"cmd":"pnpm add timezone-mock","imports":[]}],"homepage":null,"github":"https://github.com/Jimbly/timezone-mock","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/timezone-mock","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}