Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

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
18,575,044
decreased by-1.74%

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 16,104,372 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 because the last version was released a year ago.It has 4 open source maintainers collaborating on the project.

Last updated on 13 Oct 2020

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
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