Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

perfops-rom

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perfops-rom

RUM code for https://perfops.net/

  • 1.1.21
  • npm
  • Socket score

Version published
Weekly downloads
51
increased by142.86%
Maintainers
1
Weekly downloads
 
Created
Source

perfops-rom

Include the code in your website

1s delay

<script async src="https://cdn.jsdelivr.net/npm/perfops-rom/dist/rom.min.js"></script>

3s delay

<script async src="https://cdn.jsdelivr.net/npm/perfops-rom"></script>

provide client id in the collected metrics:

<script async>
    (function (a, m) {
        window.rum = function (k) { window.rum.key = k; }; a = document.createElement('script'); m = document.getElementsByTagName('script')[0];
        a.async = 1; a.src = 'https://cdn.jsdelivr.net/npm/perfops-rom'; m.parentNode.insertBefore(a, m);
    })();

    rum('<CLIENT-ID-HERE>');
</script>

Stored data

  • user country
  • request duration: (timing.responseEnd - timing.requestStart).toFixed(2)

FAQs

Package last updated on 21 Jan 2021

Did you know?

Socket

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.

Install

Related posts

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