New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

perftrace

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perftrace - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

index.cjs

20

package.json
{
"name": "perftrace",
"version": "1.1.0",
"version": "1.2.0",
"description": "Record PerformanceEntry objects from Node.js and the Web in the Trace Event Format, so that it can be visualized on https://ui.perfetto.dev.",

@@ -10,5 +10,12 @@ "repository": {

"homepage": "https://github.com/RaisinTen/perftrace?tab=readme-ov-file#perftrace",
"main": "index.js",
"main": "index.mjs",
"type": "module",
"exports": {
"import": "index.mjs",
"require": "index.cjs"
},
"scripts": {
"test": "node --test"
"test": "npm run test:node && npm run test:browser",
"test:node": "node --test \"test/node-test.cjs\"",
"test:browser": "wtr --playwright --browsers chromium firefox webkit --node-resolve test/browser-test.mjs"
},

@@ -22,3 +29,8 @@ "keywords": [

"author": "Darshan Sen",
"license": "MIT"
"license": "MIT",
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@web/test-runner": "^0.18.1",
"@web/test-runner-playwright": "^0.11.0"
}
}

@@ -6,1 +6,19 @@ # perftrace

![](./docs/examples/tracing-requires/perfetto.png)
The code for this example is available [here](docs/examples/tracing-requires).
Check out <a href="https://dev.to/raisinten/visualize-performance-issues-in-your-javascript-application-4cnc">the blog <img src="https://avatars2.githubusercontent.com/u/13521919?s=200&v=4" width="25px"></a>!
## Install
```
npm i perftrace
```
## Usage
Check out the [API documentation](docs/api) and the [code examples](docs/examples).
## License
This project is available under the [MIT license](https://opensource.org/license/MIT). See [LICENSE](LICENSE) for the full license text.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc