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 28, 2024 via pnpm

postcss 8.4.19

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

Issues

2

2 moderate severity issues

moderate
Recommendation: Upgrade to version 8.4.31 or later
via: postcss@8.4.19
Recommendation: Upgrade to version 8.4.31 or later
via: postcss@8.4.19
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
2 Packages, Including:
nanoid@3.3.7
postcss@8.4.19

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@1.0.0

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-js@1.0.2
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

3
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
nanoid3.3.75.42 kBMIT
prod
picocolors1.0.02.35 kBISC
prod
source-map-js1.0.237.16 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.