![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
graphql-testkit
Advanced tools
> A utility tool that generates a postman collection with all the mutations and queries that your GraphQL endpoint exposes.
A utility tool that generates a postman collection with all the mutations and queries that your GraphQL endpoint exposes.
// with npm
npm install -g graphql-testkit
// with yarn
yarn global add graphql-testkit
graphql-testkit \
--endpoint=https://api/spacex.land/graphql\
--header="Authorization:123,x-ws-system-id=10" \
--maxDepth=4
The GraphQL endpoint that you want to generate the postman collection for
Comma separated list of http headers that you need to send to you GraphQL API.
The maximum you want to nest the generated queries and mutations. Default value is 4
An output directory is created in the current working directory.
A folder structure based on endpoint will be created, which will contain the Postman collection(collections.json)
endpoint=https://api.spacex.land/graphql
Output Directory
output/api.spacex.land/graphql/collections.json
FAQs
> A utility tool that generates a postman collection with all the mutations and queries that your GraphQL endpoint exposes.
The npm package graphql-testkit receives a total of 4 weekly downloads. As such, graphql-testkit popularity was classified as not popular.
We found that graphql-testkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.