Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
hexo-renderer-yasr
Advanced tools
A Stylus CSS renderer for Hexo that uses Nib, Axis, Rupture, Jeet and Autoprefixer.
A Stylus renderer for Hexo that uses Nib, Axis, Rupture, Jeet, Typographic, and Autoprefixer.
sourcemaps
Although Hexo does come with it's own Stylus renderer — hexo-renderer-stylus
— it only includes Nib support. If you're looking for some extra functionality, hexo-renderer-yasr
is the stylus renderer you want.
Check to see if you have installed hexo-renderer-stylus
(check inside the node-modules
directory, but don't delete it.). If you have it installed run:
$ npm uninstall hexo-renderer-stylus --save
After you've removed the default renderer, or if you never installed it in the first place, run:
$ npm i hexo-renderer-yasr --save
Place the following code inside your _config.yml
.
# YASR - Hexo Renderer Configuration
yasr:
compress: false
sourcemaps:
comment: true
inline: true
sourceRoot: ''
basePath: .
autoprefixer:
browsers:
- last 2 version
Stylus:
false
)Sourcemaps
sourceMappingURL
to the generated CSS (default: true
)false
)sourceRoot
property of the generated sourcemap.
)Autoprefixer
FAQs
A Stylus CSS renderer for Hexo that uses Nib, Axis, Rupture, Jeet, and Typographic.
The npm package hexo-renderer-yasr receives a total of 6 weekly downloads. As such, hexo-renderer-yasr popularity was classified as not popular.
We found that hexo-renderer-yasr 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
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.