Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Feb 12, 2024 via pnpm

postcss 7.0.39

Tool for transforming styles with JS plugins
Package summary
Share
2
issues
2
moderate severity
vulnerability
2
3
licenses
1
ISC
1
MIT
1
BSD-3-Clause
Package created
4 Nov 2013
Version published
4 Oct 2021
Maintainers
1
Total deps
3
Direct deps
2
License
MIT

Issues

2

2 moderate severity issues

moderate
Recommendation: Upgrade to version 8.4.31 or later
via: postcss@7.0.39
Recommendation: Upgrade to version 8.4.31 or later
via: postcss@7.0.39
Collapse
Expand

Licenses

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
1 Packages, Including:
picocolors@0.2.1

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
1 Packages, Including:
postcss@7.0.39

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
1 Packages, Including:
source-map@0.6.1
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

2
All Dependencies CSV
β“˜ This is a list of postcss 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
picocolors0.2.12.43 kBISC
prod
source-map0.6.1194.96 kBBSD-3-Clause
prod

Visualizations

Frequently Asked Questions

What does postcss do?

PostCSS is a powerful tool designed to transform styles using JavaScript plugins. This tool helps optimize your CSS to match industry standards through a variety of actions such as linting CSS, supporting variables and mixins, transpiling future CSS syntax, inlining images, and more. Some of the most popular CSS tools, like Autoprefixer and StyleLint, are plugins of PostCSS. Trusted by industry leaders like Wikipedia, Twitter, Alibaba, and JetBrains, PostCSS helps ensure your CSS is of the highest standard.

How do you use postcss?

To utilize PostCSS, you would install the package via NPM in your project directory, then use it as a library in your JavaScript code along with any required plugins. For instance, let's say we want to use the Autoprefixer plugin. Here's a simple example of how you might use it:

Firstly, install PostCSS and Autoprefixer:

npm install postcss autoprefixer

Then, use them in your JavaScript code:

var postcss = require('postcss');
var autoprefixer = require('autoprefixer');

var css = 'body { display: flex; }';

postcss([autoprefixer])
  .process(css)
  .then(function(result) {
    console.log(result.css);
});

The postcss.process method is used to transform the CSS with the plugins provided in the array.

Where are the postcss docs?

The full documentation for PostCSS can be found at https://postcss.org/. It includes a comprehensive guide on how to effectively use PostCSS and its plugins, as well as additional resources to maximize its capabilities.