postcss-normalize-charset (5.1.0)

Published 2026-02-24 14:03:10 +00:00 by atheaadmin

Installation

registry=
npm install postcss-normalize-charset@5.1.0
"postcss-normalize-charset": "5.1.0"

About this package

postcss-normalize-charset

Add necessary or remove extra charset with PostCSS

a{
  content: "©";
}
@charset "utf-8";
a{
  content: "©";
}

API

normalizeCharset([options])

options

add

Type: boolean
Default: true

Pass false to stop the module from adding a @charset declaration if it was missing from the file (and the file contained non-ascii characters).

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Bogdan Chadkin

Dependencies

Development Dependencies

ID Version
postcss ^8.2.15

Peer Dependencies

ID Version
postcss ^8.2.15

Keywords

postcss css postcss-plugin charset
Details
npm
2026-02-24 14:03:10 +00:00
0
Bogdan Chadkin
MIT
latest
2.2 KiB
Assets (1)
Versions (1) View all
5.1.0 2026-02-24