Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
custom-graphiql
Advanced tools
GraphiQL IDE with extra option for creating stub mutation and save queries to localStorage
A custom wrapper around graphiql package which offers more utility button and a component which allows to query any graphql endpoint. Inspired from graphiql-app but within browser without requirement for an app.
Try it out here: https://graphiql-ide.netlify.com/
npm install --save custom-graphiql
# OR
yarn add custom-graphiql
CustomGraphiQL is React component which wraps existing GraphiQL component. It can be directly hosted on your server. Check the example directory for how to setup CustomGraphiQL on any endpoint of your express server.
Build for the web with webpack or browserify, or use the pre-bundled custom-graphiql.js file. See the example in the git repository to see how to use the pre-bundled file. Alternatively you can get custom-graphiql.js or custom-graphiql.min.js from the releases page.
Don't forget to include the CSS file on the page! If you're using npm, you can
find it in node_modules/custom-graphiql/custom-graphiql.css
, or you can
download it from the releases page.
It can be directly hosted on your server. Check out the example in thie repository for how to setup CustomGraphiQL on any endpoint of your express server.
CustomGraphiQL exports a single React component and it can further customized.
import CustomGraphiQL from 'custom-graphiql';
<CustomGraphiQL />
CustomGraphiQL supports all the props and children accepted by GraphiQL except the
fetcher
prop. The fetch function is implemented within the component and hence no
fetcher props is required for CustomGraphiQL component. Check here
for description of available props and children and their example usage.
Fork this repo by using the "Fork" button in the upper-right
Check out your fork
git clone git@github.com:yournamehere/graphiql.git
Install or Update all dependencies
yarn
Run development server
yarn dev
Push your changes and raise a PR.
FAQs
GraphiQL IDE with extra option for creating stub mutation and save queries to localStorage
The npm package custom-graphiql receives a total of 1 weekly downloads. As such, custom-graphiql popularity was classified as not popular.
We found that custom-graphiql 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.