graphql-tag
2.12.7 · 17 Jun 2026MIT22M / weekRepositoryHomepagenpmAtom feed
Your version
In short
1 new
Release note
Allow embedding fragments inside document strings, as in
import gql from "graphql-tag";
const fragment = gql`
fragment Foo on Bar {
field
}
`;
const query = gql`
{
...Foo
}
${Foo}
`;A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.