Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
scss-mapper
Advanced tools
A versatile npm package for generating a comprehensive map of SCSS file dependencies within a specified folder structure. Easily analyze and visualize the import relationships between your SCSS files. Ideal for projects with complex stylesheets.
Readme
SASS folders can become tangled and complex. When examining the import-scss structure, it often requires opening each file individually, leading to a cumbersome process. To address this issue, this script visualizes the entire SASS folder structure, generating it to a scssMap.txt file.
In summary, it captures the structure of the component and scss folders and exports it to a text file.
Install the package:
npm install scss-mapper
npx scss-mapper './your-sass-folder'
Export the 'scssmap.txt' file to your root folder.
It should appear as follows:
{
"abstracts/abstracts/__abstracts-dir.scss": [
"abstracts/fonts",
"abstracts/mixins",
"abstracts/variables"
],
"abstracts/abstracts/_fonts.scss": [
"(No imports)"
],
"abstracts/abstracts/_mixins.scss": [
"(No imports)"
],
"abstracts/abstracts/_variables.scss": [
"(No imports)"
],
"base/base/__base-dir.scss": [
"base/reset",
"base/global",
"base/typography"
],
"base/base/_global.scss": [
"(No imports)"
],
"base/base/_reset.scss": [
"(No imports)"
],
"base/base/_typography.scss": [
"(No imports)"
],
"components/components/__components-dir.scss": [
"components/container"
],
"components/components/_container.scss": [
"(No imports)"
],
"layouts/layouts/__layouts-dir.scss": [
"layouts/footer"
],
"layouts/layouts/_footer.scss": [
"(No imports)"
],
"vendor/vendor/__vendor-dir.scss": [
"vendor/bourbon/bourbon",
"vendor/neat/neat",
"vendor/fontawesome/font-awesome",
"vendor/normalize/normalize"
],
"vendor/bourbon/vendor/bourbon/_bourbon-deprecated-upcoming.scss": [
"(No imports)"
],
"vendor/bourbon/vendor/bourbon/_bourbon.scss": [
"vendor/bourbon/settings/prefixer",
"vendor/bourbon/settings/px-to-em",
"vendor/bourbon/settings/asset-pipeline",
"vendor/bourbon/functions/assign-inputs",
"vendor/bourbon/functions/contains",
"vendor/bourbon/functions/contains-falsy",
"vendor/bourbon/functions/is-length",
"vendor/bourbon/functions/is-light",
"vendor/bourbon/functions/is-number",
"vendor/bourbon/functions/is-size",
"vendor/bourbon/functions/px-to-em",
"vendor/bourbon/functions/px-to-rem",
"vendor/bourbon/functions/shade",
"vendor/bourbon/functions/strip-units",
"vendor/bourbon/functions/tint",
"vendor/bourbon/functions/transition-property-name",
"vendor/bourbon/functions/unpack",
"vendor/bourbon/functions/modular-scale",
"vendor/bourbon/helpers/convert-units",
"vendor/bourbon/helpers/directional-values",
"vendor/bourbon/helpers/font-source-declaration",
"vendor/bourbon/helpers/gradient-positions-parser",
"vendor/bourbon/helpers/linear-angle-parser",
"vendor/bourbon/helpers/linear-gradient-parser",
"vendor/bourbon/helpers/linear-positions-parser",
"vendor/bourbon/helpers/linear-side-corner-parser",
"vendor/bourbon/helpers/radial-arg-parser",
"vendor/bourbon/helpers/radial-positions-parser",
"vendor/bourbon/helpers/radial-gradient-parser",
"vendor/bourbon/helpers/render-gradients",
"vendor/bourbon/helpers/shape-size-stripper",
"vendor/bourbon/helpers/str-to-num",
"vendor/bourbon/css3/animation",
"vendor/bourbon/css3/appearance",
"vendor/bourbon/css3/backface-visibility",
"vendor/bourbon/css3/background",
"vendor/bourbon/css3/background-image",
"vendor/bourbon/css3/border-image",
"vendor/bourbon/css3/calc",
"vendor/bourbon/css3/columns",
"vendor/bourbon/css3/filter",
"vendor/bourbon/css3/flex-box",
"vendor/bourbon/css3/font-face",
"vendor/bourbon/css3/font-feature-settings",
"vendor/bourbon/css3/hidpi-media-query",
"vendor/bourbon/css3/hyphens",
"vendor/bourbon/css3/image-rendering",
"vendor/bourbon/css3/keyframes",
"vendor/bourbon/css3/linear-gradient",
"vendor/bourbon/css3/perspective",
"vendor/bourbon/css3/placeholder",
"vendor/bourbon/css3/radial-gradient",
"vendor/bourbon/css3/selection",
"vendor/bourbon/css3/text-decoration",
"vendor/bourbon/css3/transform",
"vendor/bourbon/css3/transition",
"vendor/bourbon/css3/user-select",
"vendor/bourbon/addons/border-color",
"vendor/bourbon/addons/border-radius",
"vendor/bourbon/addons/border-style",
"vendor/bourbon/addons/border-width",
"vendor/bourbon/addons/buttons",
"vendor/bourbon/addons/clearfix",
"vendor/bourbon/addons/ellipsis",
"vendor/bourbon/addons/font-stacks",
"vendor/bourbon/addons/hide-text",
"vendor/bourbon/addons/margin",
"vendor/bourbon/addons/padding",
"vendor/bourbon/addons/position",
"vendor/bourbon/addons/prefixer",
"vendor/bourbon/addons/retina-image",
"vendor/bourbon/addons/size",
"vendor/bourbon/addons/text-inputs",
"vendor/bourbon/addons/timing-functions",
"vendor/bourbon/addons/triangle",
"vendor/bourbon/addons/word-wrap",
"vendor/bourbon/bourbon-deprecated-upcoming"
],
"vendor/bourbon/addons/vendor/bourbon/addons/_border-color.scss": [
"(No imports)"
],
"vendor/bourbon/addons/vendor/bourbon/addons/_border-radius.scss": [
"(No imports)"
]
}
FAQs
A versatile npm package for generating a comprehensive map of SCSS file dependencies within a specified folder structure. Easily analyze and visualize the import relationships between your SCSS files. Ideal for projects with complex stylesheets.
The npm package scss-mapper receives a total of 0 weekly downloads. As such, scss-mapper popularity was classified as not popular.
We found that scss-mapper demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.