Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 19, 2024 via pnpm

node-sass 9.0.0

Wrapper around libsass
Package summary
Share
11
issues
1
critical severity
license
1
5
high severity
license
1
meta
4
3
moderate severity
meta
3
2
low severity
license
2
9
licenses
133
MIT
63
ISC
3
BSD-2-Clause
12
other licenses
BSD-3-Clause
3
Apache-2.0
3
(MIT OR CC0-1.0)
3
N/A
1
+ 2 more
Package created
12 Jun 2012
Version published
20 May 2023
Maintainers
3
Total deps
211
Direct deps
14
License
MIT

Issues

11

1 critical severity issue

critical
Recommendation: Check the package code and files for license information
via: async-foreach@0.1.3
Collapse
Expand

5 high severity issues

high
Recommendation: Read and validate the license terms
via: meow@9.0.0
via: node-gyp@8.4.1
via: make-fetch-happen@10.2.1
via: node-sass@9.0.0
via: node-sass@9.0.0
Collapse
Expand

3 moderate severity issues

moderate
via: node-gyp@8.4.1
via: make-fetch-happen@10.2.1 & others
via: make-fetch-happen@10.2.1 & others
Collapse
Expand

2 low severity issues

low
Recommendation: Read and validate the license terms
via: meow@9.0.0
Recommendation: Read and validate the license terms
via: meow@9.0.0
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
133 Packages, Including:
@babel/code-frame@7.24.2
@babel/helper-validator-identifier@7.24.5
@babel/highlight@7.24.5
@gar/promisify@1.1.3
@npmcli/move-file@1.1.2
@npmcli/move-file@2.0.1
@tootallnate/once@1.1.2
@tootallnate/once@2.0.0
@types/minimist@1.2.5
@types/normalize-package-data@2.4.4
agent-base@6.0.2
agentkeepalive@4.5.0
aggregate-error@3.1.0
ansi-regex@5.0.1
ansi-styles@3.2.1
ansi-styles@4.3.0
arrify@1.0.1
balanced-match@1.0.2
brace-expansion@1.1.11
brace-expansion@2.0.1
camelcase-keys@6.2.2
camelcase@5.3.1
chalk@2.4.2
chalk@4.1.2
clean-stack@2.2.0
color-convert@1.9.3
color-convert@2.0.1
color-name@1.1.3
color-name@1.1.4
concat-map@0.0.1
core-util-is@1.0.3
cross-spawn@7.0.3
debug@4.3.4
decamelize-keys@1.1.1
decamelize@1.2.0
delegates@1.0.0
emoji-regex@8.0.0
encoding@0.1.13
env-paths@2.2.1
err-code@2.0.3
error-ex@1.3.2
escalade@3.1.2
escape-string-regexp@1.0.5
find-up@4.1.0
function-bind@1.1.2
gaze@1.1.3
get-stdin@4.0.1
globule@1.3.4
hard-rejection@2.1.0
has-flag@3.0.0

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
63 Packages, Including:
@npmcli/fs@1.1.1
@npmcli/fs@2.1.2
abbrev@1.1.1
aproba@2.0.0
are-we-there-yet@3.0.1
cacache@15.3.0
cacache@16.1.3
chownr@2.0.0
cliui@8.0.1
color-support@1.1.3
console-control-strings@1.1.0
fs-minipass@2.1.0
fs.realpath@1.0.0
gauge@4.0.4
get-caller-file@2.0.5
glob@7.1.7
glob@7.2.3
glob@8.1.0
graceful-fs@4.2.11
has-unicode@2.0.1
hosted-git-info@2.8.9
hosted-git-info@4.1.0
infer-owner@1.0.4
inflight@1.0.6
inherits@2.0.4
isexe@2.0.0
lru-cache@6.0.0
lru-cache@7.18.3
make-fetch-happen@10.2.1
make-fetch-happen@9.1.0
minimatch@3.0.8
minimatch@3.1.2
minimatch@5.1.6
minipass-collect@1.0.2
minipass-flush@1.0.5
minipass-pipeline@1.2.4
minipass-sized@1.0.3
minipass@3.3.6
minipass@5.0.0
nopt@5.0.0
npmlog@6.0.2
once@1.4.0
picocolors@1.0.1
promise-inflight@1.0.1
rimraf@3.0.2
semver@5.7.2
semver@7.6.2
set-blocking@2.0.0
signal-exit@3.0.7
ssri@8.0.1

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
http-cache-semantics@4.1.1
normalize-package-data@2.5.0
normalize-package-data@3.0.3

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
js-base64@2.6.4
source-map@0.7.4
sprintf-js@1.1.3

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
3 Packages, Including:
spdx-correct@3.2.0
true-case-path@2.2.1
validate-npm-package-license@3.0.4

(MIT OR CC0-1.0)

Public Domain
3 Packages, Including:
type-fest@0.18.1
type-fest@0.6.0
type-fest@0.8.1

N/A

N/A
1 Packages, Including:
async-foreach@0.1.3

Creative Commons Attribution 3.0 Unported

Uncategorized
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
spdx-exceptions@2.5.0

Creative Commons Zero v1.0 Universal

Public Domain
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
spdx-license-ids@3.0.17
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

14
All Dependencies CSV
β“˜ This is a list of node-sass 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
async-foreach0.1.34.52 kBUNKNOWN
prod
1
chalk4.1.211.31 kBMIT
prod
cross-spawn7.0.37.3 kBMIT
prod
gaze1.1.38.66 kBMIT
prod
get-stdin4.0.1978 BMIT
prod
glob7.2.315.08 kBISC
prod
lodash4.17.21311.49 kBMIT
prod
make-fetch-happen10.2.118.08 kBISC
prod
1
2
meow9.0.07.38 kBMIT
prod
1
2
nan2.19.0419.43 kBMIT
prod
node-gyp8.4.1436.59 kBMIT
prod
1
3
sass-graph4.0.14.8 kBMIT
prod
stdout-stream1.4.12.36 kBMIT
prod
true-case-path2.2.17.52 kBApache-2.0
prod

Visualizations

Frequently Asked Questions

What does node-sass do?

Node-sass is a library that provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor, Sass. It allows you to natively compile .scss files to css at over-the-top speed and automatically via a connect middleware. Note though, LibSass and Node Sass are deprecated and while they will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features. Therefore, projects that still use it should transition onto Dart Sass.

How do you use node-sass?

You can use node-sass by installing it via npm using the command npm install node-sass. After installation, you can use it in your JavaScript code as follows:

var sass = require('node-sass');

sass.render({
  file: scss_filename,
  options: {
    // specify options here
  }
}, function(err, result) { /* handle error or result here */ });

// You can also use it synchronously
var result = sass.renderSync({
  data: scss_content,
  options: {
    // specify options here
  }
});

In this usage example, file and data are either the path to an .scss file or .scss content to be compiled respectively.

Where are the node-sass docs?

The node-sass documentation can be found on its GitHub page. This includes the API, options you can pass to the render function such as file, outputStyle, sourceMap among others. There are also details on how you can use it in the command-line interface.