Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

postcss-modules-local-by-default

Package Overview
Dependencies
3
Maintainers
4
Versions
32
Issues
File Explorer

Advanced tools

postcss-modules-local-by-default

A CSS Modules transform to make local scope the default

    4.0.0latest

Version published
Maintainers
4
Weekly downloads
17,925,846
increased by1.6%

Weekly downloads

Changelog

Source

4.0.0 - 2020-10-13

Fixes

  • compatibility with plugins other plugins

Readme

Source

Build Status codecov npm

CSS Modules: Local by Default

Transformation examples:

.foo { ... } /* => */ :local(.foo) { ... } .foo .bar { ... } /* => */ :local(.foo) :local(.bar) { ... } /* Shorthand global selector */ :global .foo .bar { ... } /* => */ .foo .bar { ... } .foo :global .bar { ... } /* => */ :local(.foo) .bar { ... } /* Targeted global selector */ :global(.foo) .bar { ... } /* => */ .foo :local(.bar) { ... } .foo:global(.bar) { ... } /* => */ :local(.foo).bar { ... } .foo :global(.bar) .baz { ... } /* => */ :local(.foo) .bar :local(.baz) { ... } .foo:global(.bar) .baz { ... } /* => */ :local(.foo).bar :local(.baz) { ... }

Building

$ npm install $ npm test
  • Build: Build Status
  • Lines: coveralls
  • Statements: codecov

Development

$ yarn test:watch

License

MIT

With thanks


Mark Dalgleish, 2015.

Keywords

FAQs

What is postcss-modules-local-by-default?

A CSS Modules transform to make local scope the default

Is postcss-modules-local-by-default popular?

The npm package postcss-modules-local-by-default receives a total of 14,516,642 weekly downloads. As such, postcss-modules-local-by-default popularity was classified as popular.

Is postcss-modules-local-by-default well maintained?

We found that postcss-modules-local-by-default demonstrated a not healthy version release cadence and project activity. It has 4 open source maintainers collaborating on the project.

Last updated on 13 Oct 2020
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc