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

gatsby-source-cat-facts

yarn add gatsby-source-cat-facts

Want Cat Facts (source) in your Gatsby app? Yes, obviously we all do.

Install this package, and add 'gatsby-source-cat-facts' to your plugins array in gatsby-config.js. Run gatsby develop, head to the GraphiQL IDE and run:

{
   allCatFacts {
    catFacts: edges {
      catFact: node {
        text
      }
    }
  }
}

Look! Cat Facts!

🐈

© 2022 Gatsby, Inc.