Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
graphql-modules
Advanced tools
Readme
GraphQL Modules is a toolset of libraries and guidelines dedicated to create reusable, maintainable, testable and extendable modules out of your GraphQL server.
Documentation is available at graphql-modules.com.
To install graphql-modules, use the following:
$ npm install graphql-modules
# Or, with Yarn
$ yarn add graphql-modules
We are also publishing a pre-release version to NPM on each change.
Just take a look at the build status on Github Actions and find "Publish Canary" job to get the published version.
More advanced usage at graphql-modules.com
import { createModule, createApplication, gql } from 'graphql-modules'
const module = createModule({
id: 'my-module',
typeDefs: gql`
type Post {
id: ID
title: String
author: User
}
type Query {
posts: [Post]
}
`,
resolvers: blogResolvers
})
const application = createApplication({
modules: [module]
})
Inside the examples
directory you can find the following examples:
Contributions, issues and feature requests are very welcome. If you are using this package and fixed a bug for yourself, please consider submitting a PR!
And if this is your first time contributing to this project, please do read our Contributor Workflow Guide before you get started off.
Help us keep GraphQL Modules open and inclusive. Please read and follow our Code of Conduct as adopted from Contributor Covenant
MIT
FAQs
Create reusable, maintainable, testable and extendable GraphQL modules
The npm package graphql-modules receives a total of 20,571 weekly downloads. As such, graphql-modules popularity was classified as popular.
We found that graphql-modules demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.