{"library":"ms","type":"library","category":null,"description":"The `ms` package is a small, focused utility designed for converting various time formats to milliseconds and vice versa. It parses human-readable strings (e.g., '2 days', '10h', '5s') into their millisecond equivalents and formats millisecond values back into concise, human-readable strings (e.g., 3600000 becomes '1h'). The current stable version is 2.1.3, though version 3.0.0 is actively in canary, introducing significant changes including full TypeScript support and a transition to an ESM-only distribution. This makes `ms` a reliable, lightweight choice for common duration parsing and formatting tasks in both Node.js and browser environments, distinguished by its minimal API and broad adoption in the Vercel ecosystem.","language":"javascript","status":"active","version":"2.1.3","tags":["javascript"],"install":[{"cmd":"npm install ms","imports":["import ms from 'ms';"]},{"cmd":"yarn add ms","imports":[]},{"cmd":"pnpm add ms","imports":[]}],"homepage":null,"github":"https://github.com/vercel/ms","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ms","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/ms/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}