See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
Community Plugin
View plugin on GitHub



Get reading time estimates for any content from any source in your Gatsby project’s GraphQL schema.


npm i gatsby-plugin-readingtime

yarn add gatsby-plugin-readingtime


  plugins: [
      resolve: `gatsby-plugin-readingtime`,
      options: {
        config: {
          // configuration for reading-time package
        types: {
          // Key: GraphQL Type to add reading times to, Value: Resolver function takes source node of Defined GraphQL type and returns content to be processed.
          WpPost: source => {
            const { blocks } = source;
            return => block.saveContent).join('');
© 2022 Gatsby, Inc.