Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
shokika.css
Advanced tools
A lightly modern reset CSS.
shokika.css is a modern CSS library that provides cross-browser default styles.
note: shokika means "initialize" in Japanese.
You can install shokika.css using npm, Yarn, or a CDN.
npm
npm install --save-dev shokika.css
Yarn
yarn add shokika.css
CDN
https://unpkg.com/shokika.css@latest/dist/shokika.min.css
You can use shokika.css by importing it into your project.
Import
@import '~shokika.css';
HTML
<link rel="stylesheet" href="https://unpkg.com/shokika.css@latest/dist/shokika.min.css" />
You can also use shokika.css with "CSS in JS" libraries like Emotion.
import { css, Global } from '@emotion/react';
import resetCSS from 'shokika.css/dist/string';
const globalStyle = css`
${resetCSS}
`;
export const CSSReset = () => <Global styles={globalStyle} />;
It is available in node_modules directory:
shokika.css
: raw CSS fileshokika.min.css
: minified CSS file (recommended for production)Warning
Support for modern browsers.
shokika.css supports modern browsers, but does not support IE11 or other legacy browsers.
FAQs
A lightly modern reset CSS.
We found that shokika.css demonstrated a not healthy version release cadence and project activity because the last version was released 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.