Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@cloudflare/component-text
Advanced tools
Cloudflare Text Component
Installation with yarn is recommended
$ yarn add @cloudflare/component-text
import React from 'react';
import { Text } from '@cloudflare/component-text';
const TextComponent = () => (
<div>
<p>
Specify a <code>size</code>
</p>
<Text size="normal">Hello World</Text>
<Text size="small">Hello World</Text>
<Text size="normal" weight="semi-bold">
Hello World
</Text>
<Text size="normal" weight="bold">
Hello World
</Text>
<p>
and/or an <code>align</code>
</p>
<Text align="start">Hello World</Text>
<Text align="center">Hello World</Text>
<Text align="justify">Hello World</Text>
<Text align="end">Hello World</Text>
<p>
and/or a <code>type</code>
</p>
<Text type="info">Hello World</Text>
<Text type="success">Hello World</Text>
<Text type="warning">Hello World</Text>
<Text type="error">Hello World</Text>
<Text type="muted">Hello World</Text>
<p>
and/or a <code>case</code>
</p>
<Text case="capitalize">hello world</Text>
<Text case="titlecase">hello world</Text>
<Text case="lowercase">Hello World</Text>
<Text case="uppercase">Hello World</Text>
</div>
);
export default TextComponent;
FAQs
Cloudflare Text Component
The npm package @cloudflare/component-text receives a total of 2,731 weekly downloads. As such, @cloudflare/component-text popularity was classified as popular.
We found that @cloudflare/component-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 35 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.