
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@portkey/graphql
Advanced tools
  [![NPM Package Version][npm-image-version]][npm-url]
@portkey/graphql
It is already possible to follow the standard apollo tutorial to add apollo client to your application. However, Portkey provides graphql integration packages those simplify the integration and usage.
npm install @portkey/graphql
yarn add @portkey/graphql
Script | Description |
---|---|
clean | Uses rm to remove dist/ |
build | Uses tsc to build package and dependent packages |
lint | Uses eslint to lint package |
lint:fix | Uses eslint to check and fix any warnings |
format | Uses prettier to format the code |
generate | generate files with the following |
GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you can utilize GraphQL Code Generator to generate output from your GraphQL Schema and GraphQL Documents (query/mutation/subscription/fragment).
you can generate files with the following command:
yarn generate
GraphQL Code Generator relies on a configuration file named codegen.config.ts to manage all possible options, input, and output document types.
For more configuration and functions, see docs page
You can do this online through a web page
FAQs
  [![NPM Package Version][npm-image-version]][npm-url]
The npm package @portkey/graphql receives a total of 35 weekly downloads. As such, @portkey/graphql popularity was classified as not popular.
We found that @portkey/graphql demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.