Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
graphiql-with-extensions
Advanced tools
This is a meta-package meant to bring together the most popular GraphiQL plugins and make them easy to flip on and off.
This is a meta-package meant to bring together the most popular GraphiQL plugins and make them easy to flip on and off.
The original GraphiQL package is consumable as a single React component, even without JSX. This makes it very easy to embed just about anywhere you can put JavaScript that might not have a full modern build pipeline (e.g. Rails with a sprockets setup).
Usage is easy:
npm install --save graphiql-with-extensions
# or
yarn add graphiql-with-extensions
import React from 'react';
import ReactDOM from 'react-dom';
import GraphiQL from 'graphiql-with-extensions';
import fetch from 'isomorphic-fetch';
function graphQLFetcher(graphQLParams) {
return fetch(window.location.origin + '/graphql', {
method: 'post',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify(graphQLParams),
}).then(response => response.json());
}
ReactDOM.render(
<GraphiQL
fetcher={graphQLFetcher}
// Some optional props
// defaultQuery={''}
// disableExplorer={false}
/>,
document.body,
);
Rigth now we only include the latest version of OneGraph's GraphiQL Explorer plugin. Please open an issue if you'd like to see other plugins included.
graphiql-with-extensions is licensed under the MIT License.
graphiql is licensed under the MIT License.
Documentation is licensed under Creative Common License.
FAQs
This is a meta-package meant to bring together the most popular GraphiQL plugins and make them easy to flip on and off.
The npm package graphiql-with-extensions receives a total of 177 weekly downloads. As such, graphiql-with-extensions popularity was classified as not popular.
We found that graphiql-with-extensions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.