Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@modulz/radix-system
Advanced tools
WIP
yarn add @modulz/radix-system
Built on top of @styled-system/core by Brent Jackson.
Radix System is currently under development, but if you'd like to use it anyway:
# npm
npm install @modulz/radix-system
# yarn
yarn add @modulz/radix-system
Radix System is an alternative to Styled System, built on the same Core package but with a few tweaks:
color
style function has been renamed to textColor
space
has been split into margin
and space
variant
APIImport style functions:
import styled from 'styled-components';
import { margin, backgroundColor, compose } from '@modulz/radix-system';
const styleProps = compose(
margin,
backgroundColor
);
const Box = styled('div')(styleProps);
const App = () => (
<Box my={4} bg="blue">
Hey there 👋
</Box>
);
With Typescript:
import styled from 'styled-components';
import {
margin,
MarginProps,
backgroundColor,
BackgroundColorProps,
compose,
} from '@modulz/radix-system';
const styleProps = compose(
margin,
backgroundColor
);
type BoxProps = MarginProps & BackgroundColorProps;
const Box = styled('div') < BoxProps > styleProps;
const App = () => (
<Box my={4} bg="blue">
Hey there 👋
</Box>
);
Proper docs coming soon.
MIT © Modulz
FAQs
Radix System Library
The npm package @modulz/radix-system receives a total of 62 weekly downloads. As such, @modulz/radix-system popularity was classified as not popular.
We found that @modulz/radix-system demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.