{"library":"present","type":"library","category":null,"description":"The `present` package, currently at version 1.0.0, provides a unified, cross-environment API for obtaining high-resolution timestamps. It is designed to work in both Node.js, where it leverages `process.hrtime`, and various browser environments, where it attempts to use `performance.now()` and its vendor-prefixed equivalents (`webkitNow`, `msNow`, `mozNow`, `oNow`). If no high-resolution API is available, it gracefully falls back to `Date.now()`. A key differentiator is its automatic polyfilling of `performance.now` in browsers upon script inclusion, though this behavior can be reverted using `present.noConflict()`. The package aims to offer consistent, precise timing for performance measurement or other time-sensitive operations across different JavaScript runtimes. Given its version and the nature of its dependencies (native APIs), it appears to be a stable, low-maintenance utility rather than one with frequent releases, typically publishing updates only when underlying platform APIs change significantly or critical bugs are identified.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","time","timestamp","high-res","high-resolution","nanosecond","millisecond","performance","now"],"install":[{"cmd":"npm install present","imports":["const present = require('present');","// Accessible globally after <script src=\"path/to/present.min.js\"></script>","present.noConflict(); // After importing 'present' (Node) or loading script (Browser)"]},{"cmd":"yarn add present","imports":[]},{"cmd":"pnpm add present","imports":[]}],"homepage":null,"github":"https://github.com/dbkaplun/present","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/present","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/present/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}