
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@cultureamp/kaizen-binary-assets
Advanced tools
Binary asset management for Culture Amp's Kaizen Design System.
Binary asset management for Culture Amp's Kaizen Design System.
assetUrl(path)
Returns the full URL of the asset at path
managed by the
kaizen-design-system-assets
service.
TypeScript/JavaScript
assetUrl("some/blob.png") // -> "https://<origin>/some/blob.png"
SCSS
asset-url("some/blob.png") // -> "https://<origin>/some/blob.png"
kaizen-design-system-assets
repo. If it doesn't, make a PR to add it (ask the Design Systems team for review). Images in this repo will be automatically uploaded and made available via a CloudFront distribution.@cultureamp/kaizen-binary-assets
package is in your repo's package.json
. This package provides you the assetUrl
function that translates the path to the file in the kaizen-design-system-assets
repo into its equivalent CloudFront URL.index.ts
or index.scss
file and you can access the image through the assetUrl
/asset-url
function:// JS
import assetUrl from "@cultureamp/kaizen-binary-assets/lib/index.ts";
<SomeComponent image={assetUrl("illustrations/ham.png")} />
// SCSS
@import "~@cultureamp/kaizen-binary-assets/lib/index.scss";
.coolpic {
background-image: url(asset-url("illustrations/ham.png"));
}
FAQs
Binary asset management for Culture Amp's Kaizen Design System.
The npm package @cultureamp/kaizen-binary-assets receives a total of 3 weekly downloads. As such, @cultureamp/kaizen-binary-assets popularity was classified as not popular.
We found that @cultureamp/kaizen-binary-assets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.