Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
hexo-renderer-bourbon
Advanced tools
An up-to-date node-sass wrapper for Hexo that includes Bourbon mixins.
An up-to-date node-sass wrapper that includes Bourbon mixins.
$ npm i hexo-renderer-bourbon
To enable Bourbon support you need to import it in your stylesheet.
@import 'bourbon';
This renderer supports all the options exposed by node-sass.
imagePath
is a String
that represents the public image path. When using the image-url()
function in a stylesheet, this path will be prepended to the path you supply. eg. Given an imagePath
of /path/to/images
, background-image: image-url('image.png')
will compile to background-image: url("/path/to/images/image.png")
indentedSyntax
is a Boolean
flag to determine if Sass Indented Syntax should be used to parse provided string or a file.
omitSourceMapUrl
is a Boolean
flag to determine whether to include sourceMappingURL
comment in the output file.
outputStyle
is a String
to determine how the final CSS should be rendered. Its value should be one of 'nested'
or 'compressed'
. Node-sass defaults to 'nested'.
('expanded'
and 'compact'
are not currently supported by libsass).
precision
is a Number
that will be used to determine how many digits after the decimal will be allowed. For instance, if you had a decimal number of 1.23456789
and a precision of 5
, the result will be 1.23457
in the final CSS.
sourceComments
is a Boolean
flag to determine what debug information is included in the output file.
This must be true
even for embeded sourcemaps.
Must put the name of the output css file for sourcemaps to work.
sourceMapEmbed
is a Boolean
flag to determine whether to embed sourceMappingUrl
as data URI.
sourceMapContents
is a Boolean
flag to determine whether to include contents
in maps.
_config.yml
bourbon:
outputStyle: nested
precision: 8
imagePath: images
sourceComments: none
indentedSyntax: false
omitSourceMapUrl: false
sourceMap: false
outFile: '',
sourceMapEmbed: false
sourceMapContents: false
FAQs
An up-to-date node-sass wrapper for Hexo that includes Bourbon mixins.
The npm package hexo-renderer-bourbon receives a total of 0 weekly downloads. As such, hexo-renderer-bourbon popularity was classified as not popular.
We found that hexo-renderer-bourbon 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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.