
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
@webiny/api-wcp
Advanced tools
@webiny/api-wcp
A set of backend Webiny Control Panel (WCP)-related features.
npm install --save @webiny/api-wcp
Or if you prefer yarn:
yarn add @webiny/api-wcp
The @webiny/api-wcp
package contains essential backend Webiny Control Panel (WCP)-related utilities.
Example | Description |
---|---|
Registering Plugins | Shows how to register relevant plugins in a handler function. |
createWcpContext
export declare const createWcpContext: () => ContextPlugin<WcpContext>;
Creates the WCP context API.
import { createHandler } from "@webiny/handler-aws";
import { createWcpContext } from "@webiny/api-wcp";
export const handler = createHandler({
plugins: [
// Registers WCP context API.
createWcpContext(),
// ...
]
});
createWcpGraphQL
export declare const createWcpGraphQL: () => GraphQLSchemaPlugin<WcpContext>;
Returns WCP API URL. The default URL can be overridden via the WCP_API_URL
environment variable.
import { createHandler } from "@webiny/handler-aws";
import { createWcpGraphQL } from "@webiny/api-wcp";
export const handler = createHandler({
plugins: [
// Registers WCP context API.
createWcpGraphQL(),
// ...
]
});
FAQs
A set of backend Webiny Control Panel (WCP)-related features.
The npm package @webiny/api-wcp receives a total of 448 weekly downloads. As such, @webiny/api-wcp popularity was classified as not popular.
We found that @webiny/api-wcp demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.