Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
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.3.0
| Package | Changes |
| --- | --- |
| fela<br>fela-dom | (#780) Added keyframes rehydration and improved the initial keyframe rendering performance |
| fela-utils | (#782) We now support null
and undefined
strings within url()
values due to Base64 |
| fela | (#779) Fixed an issue when using combineRules
with empty rules |
| react-fela | (#776) Added ThemeContext
to the TypeScript definitions |
FAQs
Fela plugin preset for web applications
The npm package fela-preset-web receives a total of 4,283 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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.