gatsby-plugin-performance-metrics

1.0.1 • Public • Published

gatsby-plugin-performance-metrics

A Gatsby plugin to measure First (Contentful) Paint (FP/FCP) and First Input Delay (FID)

Install

npm install --save gatsby-plugin-performance-metrics

How to use

Edit gatsby-config.js

module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-performance-metrics`,
      options: {
        //firstPaint: false,
        //firstContentfulPaint: true,
        //firstInputDelay: true,
        //useLogging: true,
        //useGoogleAnalytics: false
      }
    }
  ]
};

Package Sidebar

Install

npm i gatsby-plugin-performance-metrics

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

10.1 kB

Total Files

8

Last publish

Collaborators

  • hupe1980