{"id":28684879,"url":"https://github.com/node-modules/performance-ms","last_synced_at":"2025-06-14T03:07:26.793Z","repository":{"id":186040148,"uuid":"674527445","full_name":"node-modules/performance-ms","owner":"node-modules","description":"performance timer in ms","archived":false,"fork":false,"pushed_at":"2024-06-16T06:27:46.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-06-10T18:33:11.233Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-modules.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-04T06:54:56.000Z","updated_at":"2024-06-16T06:27:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"f46192c0-ffa6-4226-8123-2658c8b92fe3","html_url":"https://github.com/node-modules/performance-ms","commit_stats":null,"previous_names":["node-modules/performance-ms"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/node-modules/performance-ms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fperformance-ms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fperformance-ms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fperformance-ms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fperformance-ms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-modules","download_url":"https://codeload.github.com/node-modules/performance-ms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fperformance-ms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259752078,"owners_count":22905972,"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":[],"created_at":"2025-06-14T03:07:24.955Z","updated_at":"2025-06-14T03:07:26.783Z","avatar_url":"https://github.com/node-modules.png","language":"TypeScript","readme":"# performance-ms\n\n[![NPM version][npm-image]][npm-url]\n[![Node.js CI](https://github.com/node-modules/performance-ms/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/performance-ms/actions/workflows/nodejs.yml)\n[![Test coverage][codecov-image]][codecov-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/performance-ms.svg?style=flat-square\n[npm-url]: https://npmjs.com/package/performance-ms\n[codecov-image]: https://codecov.io/github/node-modules/performance-ms/coverage.svg?branch=master\n[codecov-url]: https://codecov.io/github/node-modules/performance-ms?branch=master\n[snyk-image]: https://snyk.io/test/npm/performance-ms/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/performance-ms\n[download-image]: https://img.shields.io/npm/dm/performance-ms.svg?style=flat-square\n[download-url]: https://npmjs.com/package/performance-ms\n\nperformance timer in ms\n\n## Usage\n\n```ts\nimport { now, diff } from 'performance-ms';\n\nconst startTime = now();\n// run your code\nconst rt = diff(startTime);\nconsole.log('rt %d', rt);\n\n// stdout: rt 1.228\n```\n\n## License\n\n[MIT](LICENSE)\n\n\u003c!-- GITCONTRIBUTOR_START --\u003e\n\n## Contributors\n\n|[\u003cimg src=\"https://avatars.githubusercontent.com/u/156269?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003efengmk2\u003c/b\u003e\u003c/sub\u003e](https://github.com/fengmk2)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/32174276?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003esemantic-release-bot\u003c/b\u003e\u003c/sub\u003e](https://github.com/semantic-release-bot)\u003cbr/\u003e|\n| :---: | :---: |\n\n\nThis project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Fri Aug 04 2023 15:21:17 GMT+0800`.\n\n\u003c!-- GITCONTRIBUTOR_END --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fperformance-ms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-modules%2Fperformance-ms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fperformance-ms/lists"}