postcss-normalize-charset
TypeScript icon, indicating that this package has built-in type declarations

7.0.1 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
7.0.1609,880latest
5.0.0-rc.2222next
4.0.0-nightly.2020.2.652nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.1609,880
7.0.01,052,276
6.0.21,734,797
6.0.1135,833
6.0.0273,507
5.1.04,933,051
5.0.332,509
5.0.236,300
5.0.1226,020
5.0.012,869
5.0.0-rc.2222
5.0.0-rc.12
5.0.0-rc.01
4.0.0-nightly.2020.2.652
4.0.0-nightly.2020.1.111
4.0.0-nightly.2020.1.90
4.0.0-nightly.2020.10.201
4.0.0-nightly.2020.9.90
4.0.0-nightly.2020.9.31
4.0.0-nightly.2020.9.12
4.0.0-nightly.2020.8.291
4.0.0-nightly.2020.8.251
4.0.0-nightly.2020.8.240
4.0.0-nightly.2020.8.170
4.0.0-nightly.2020.8.102
4.0.0-nightly.2020.8.40
4.0.0-nightly.2020.8.11
4.0.0-nightly.2020.7.311
4.0.0-nightly.2020.7.251
4.0.0-nightly.2020.7.240
4.0.12,160,991
4.0.02,136
4.0.0-rc.235
4.0.0-rc.03
1.1.1366,738
1.1.0718
1.0.03

Package Sidebar

Install

npm i postcss-normalize-charset

Weekly Downloads

10,919,325

Version

7.0.1

License

MIT

Unpacked Size

4.55 kB

Total Files

6

Last publish

Collaborators

  • beneb
  • ludovicofischer
  • ai
  • chriseppstein
  • andyjansson
  • evilebottnawi
  • cssnano-bot