Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
@webiny/wcp
Advanced tools
@webiny/wcp
A set of Webiny Control Panel (WCP)-related utilities.
npm install --save @webiny/wcp
Or if you prefer yarn:
yarn add @webiny/wcp
The @webiny/wcp
package contains essential Webiny Control Panel (WCP)-related utilities.
Example | Description |
---|---|
Retrieve WCP URLs | Shows how to retrieve WCP API and app URLs. |
getWcpAppUrl
export declare const getWcpAppUrl: (path?: string | undefined) => string;
Returns WCP app URL. The default URL can be overridden via the WCP_APP_URL
environment variable.
import { getWcpAppUrl } from "@webiny/wcp";
console.log(getWcpAppUrl()); // Returns "https://d3mudimnmgk2a9.cloudfront.net".
getWcpApiUrl
export declare const getWcpApiUrl: (path?: string | undefined) => string;
Returns WCP API URL. The default URL can be overridden via the WCP_API_URL
environment variable.
import { getWcpApiUrl } from "@webiny/wcp";
console.log(getWcpApiUrl()); // Returns "https://d3mudimnmgk2a9.cloudfront.net".
getWcpGqlApiUrl
export declare const getWcpGqlApiUrl: (path?: string | undefined) => string;
Returns WCP GraphQL API URL.
import { getWcpGqlApiUrl } from "@webiny/wcp";
console.log(getWcpGqlApiUrl()); // Returns "https://d3mudimnmgk2a9.cloudfront.net/graphql".
FAQs
A set of Webiny Control Panel (WCP)-related utilities.
We found that @webiny/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.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.