gatsby-source-npmsio

1.0.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i gatsby-source-npmsio

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

3.1 kB

Total Files

5

Last publish

Collaborators

  • malcolmkee