Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@poi/plugin-astroturf
Advanced tools
Use [astroturf](https://github.com/4Catalyzer/astroturf) to write CSS in JS with zero-runtime.
Use astroturf to write CSS in JS with zero-runtime.
yarn add astroturf @poi/plugin-astroturf --dev
In your poi.config.js
:
module.exports = {
plugins: [
{
resolve: '@poi/plugin-astroturf',
options: {}
}
]
}
Then write css-in-js:
import { css } from 'astroturf'
const style = css`
.title {
font-size: 2em;
}
`
export const App = () => {
return <div className={style.title}>Hello world</div>
}
Check out astroturf for more usages.
loaderOptions
: astroturf/loader
options
loaderOptions.extension
: Default .module.css
. You can also change it to .scss
or .module.scss
etc to use CSS pre-processors, but make sure that it ends with .module.xxx
if you want CSS modules support.MIT.
FAQs
Use [astroturf](https://github.com/4Catalyzer/astroturf) to write CSS in JS with zero-runtime.
The npm package @poi/plugin-astroturf receives a total of 12 weekly downloads. As such, @poi/plugin-astroturf popularity was classified as not popular.
We found that @poi/plugin-astroturf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.