Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
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!

🐈

© 2023 Gatsby, Inc.