{"id":28204443,"url":"https://github.com/getoslash/server-timify","last_synced_at":"2025-09-05T12:47:24.569Z","repository":{"id":57356735,"uuid":"456525380","full_name":"getoslash/server-timify","owner":"getoslash","description":"Parser and transformer for the Server-Timing header.","archived":false,"fork":false,"pushed_at":"2022-06-16T13:47:09.000Z","size":585,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-14T06:34:21.487Z","etag":null,"topics":["headers","parser","performance","server-timing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getoslash.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-07T13:50:39.000Z","updated_at":"2022-05-19T18:50:38.000Z","dependencies_parsed_at":"2022-09-26T16:31:59.330Z","dependency_job_id":null,"html_url":"https://github.com/getoslash/server-timify","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/getoslash/server-timify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getoslash%2Fserver-timify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getoslash%2Fserver-timify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getoslash%2Fserver-timify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getoslash%2Fserver-timify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getoslash","download_url":"https://codeload.github.com/getoslash/server-timify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getoslash%2Fserver-timify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260579801,"owners_count":23031260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["headers","parser","performance","server-timing"],"created_at":"2025-05-17T05:15:29.636Z","updated_at":"2025-07-04T19:09:14.298Z","avatar_url":"https://github.com/getoslash.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# server-timify\n\n[![npm version](https://img.shields.io/npm/v/server-timify)](https://npmjs.com/package/server-timify)\n[![npm size](https://img.shields.io/bundlephobia/minzip/server-timify)](https://bundlephobia.com/package/server-timify)\n[![install size](https://packagephobia.com/badge?p=server-timify)](https://packagephobia.com/result?p=server-timify)\n[![code coverage](https://codecov.io/gh/getoslash/server-timify/branch/main/graph/badge.svg?token=KwmPlHEFwd)](https://codecov.io/gh/getoslash/server-timify)\n[![Release](https://github.com/getoslash/server-timify/actions/workflows/release.yml/badge.svg?event=push)](https://github.com/getoslash/server-timify/actions/workflows/release.yml)\n[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/getoslash/server-timify)\n\n⏱ Parse and stringifying utility methods for the [`Server-Timing`](https://www.smashingmagazine.com/2018/10/performance-server-timing/) header. Very forgiving and does not throw any errors for any invalid input.\n\n## Install\n\n```bash\nnpm install server-timify\n# OR\nyarn add server-timify\n```\n\n## Usage\n\n```typescript\nimport { parse, stringify } from 'server-timify'\n\nparse('cache;desc=\"Cache Read\";dur=23.2')\n// [{ name: \"cache\", description: \"Cache Read\", duration: 23.2 }]\n\nstringify([{ name: \"cache\", description: \"Cache Read\", duration: 23.2 }])\n// cache;desc=\"Cache Read\";dur=23.2\n```\n\nRead [\"Measuring Performance With Server Timing\"](https://www.smashingmagazine.com/2018/10/performance-server-timing/) to learn how to use the `Server-Timing` header.\n\n## License\n\nThe code in this project is released under the [MIT License](LICENSE).\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fgetoslash%2Fserver-timify.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fgetoslash%2Fserver-timify?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetoslash%2Fserver-timify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetoslash%2Fserver-timify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetoslash%2Fserver-timify/lists"}