![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
clockwork-browser
Advanced tools
Clockwork is a development tool for PHP available right in your browser. Clockwork gives you an insight into your application runtime - including request data, performance metrics, log entries, database queries, cache queries, redis commands, dispatched events, queued jobs, rendered views and more - for HTTP requests, commands, queue jobs and tests.
This repository contains the client-side metrics and toolbar components of Clockwork.
Check out on the Clockwork website for details.
This is an optional client-side component for Clockwork, adding support for client-side metrics and Clockwork toolbar.
Clockwork client-side component can be installed via npm:
$ npm install clockwork-browser
Next simply import the metrics, toolbar or both in your app.js:
import 'clockwork-browser/metrics'
import 'clockwork-browser/toolbar'
You can also load the client-side scripts form a cdn:
<script src="https://cdn.jsdelivr.net/gh/underground-works/clockwork-browser@1/dist/metrics.js"></script>
<script src="https://cdn.jsdelivr.net/gh/underground-works/clockwork-browser@1/dist/toolbar.js"></script>
The cdn builds are transpiled to support all browsers with more than 1% market share. The cdn bundle sizes are 8.29K for metrics.js and 33.4K for toolbar.js.
Read the full installation guide on the Clockwork website.
Use npm run build
to build the cdn bundles.
FAQs
Clockwork client-side metrics collection and toolbar.
The npm package clockwork-browser receives a total of 419 weekly downloads. As such, clockwork-browser popularity was classified as not popular.
We found that clockwork-browser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.