Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
fela-preset-web
Advanced tools
A Fela plugin preset for web applications.
It contains everything you need to start building cross-browser compatible apps.
yarn add fela-preset-web
You may alternatively use npm i --save fela-preset-web
.
Simply use the spread operator to add the preset.
import { createRenderer } from 'fela'
import webPreset from 'fela-preset-web'
const renderer = createRenderer({
plugins: [
...webPreset,
// other plugins
]
})
Some plugins also accept some configuration options.
We can use the createWebPreset
factory and pass the options using the plugin name as a key.
import { createRenderer } from 'fela'
import { createWebPreset } from 'fela-preset-web'
const renderer = createRenderer({
plugins: [
...createWebPreset({
'unit': [
'em',
{
margin: '%'
}
]
})
]
})
Fela is licensed under the MIT License.
Documentation is licensed under Creative Common License.
Created with ♥ by @robinweser and all the great contributors.
11.0.1 / 11.0.2
| Package | Changes | | --- | --- | | reason-fela | More improvements to the ReasonML typings. |
FAQs
Fela plugin preset for web applications
The npm package fela-preset-web receives a total of 3,515 weekly downloads. As such, fela-preset-web popularity was classified as popular.
We found that fela-preset-web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.