1.0.0 • Published 5 years ago

gatsby-source-npmsio v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

gatsby-source-npmsio

version license

Source plugin for pulling data into Gatsby from npms.io.

How to use

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-npmsio`,
      options: {
        name: 'author',
        qualifier: {
          author: `malcolmkee`
        }
      }
    }
    // ... other plugins
  ]
};

And then you can query via GraphQL with the type allNpmsIo<Name> where <Name> is the name you provided as plugin options.

Please refer to npms.io docs for the supported qualifier.

1.0.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago