dropcss | An exceptionally fast , thorough and tiny unused-CSS cleaner

 by   leeoniya HTML Version: 1.0.16 License: MIT

kandi X-RAY | dropcss Summary

kandi X-RAY | dropcss Summary

dropcss is a HTML library. dropcss has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

DropCSS takes your HTML and CSS as input and returns only the used CSS as output. Its custom HTML and CSS parsers are highly optimized for the 99% use case and thus avoid the overhead of handling malformed markup or stylesheets, so well-formed input is required. There is minimal handling for complex escaping rules, so there will always exist cases of valid input that cannot be processed by DropCSS; for these infrequent cases, please start a discussion. While the HTML spec allows html, head, body and tbody to be implied/omitted, DropCSS makes no such assumptions; selectors will only be retained for tags that can be parsed from provided markup. It's also a good idea to run your CSS through a structural optimizer like clean-css, csso, cssnano or crass to re-group selectors, merge redundant rules, etc. It probably makes sense to do this after DropCSS, which can leave redundant blocks, e.g. .foo, .bar { color: red; } .bar { width: 50%; } -> .bar { color: red; } .bar { width: 50%; } if .foo is absent from your markup. More on this project's backstory & discussions: v0.1.0 alpha: /r/javascript, Hacker News and v1.0.0 release: /r/javascript.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              dropcss has a medium active ecosystem.
              It has 2127 star(s) with 65 fork(s). There are 22 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 10 open issues and 43 have been closed. On average issues are closed in 14 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of dropcss is 1.0.16

            kandi-Quality Quality

              dropcss has 0 bugs and 0 code smells.

            kandi-Security Security

              dropcss has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              dropcss code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              dropcss is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              dropcss releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              It has 7505 lines of code, 0 functions and 30 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dropcss
            Get all kandi verified functions for this library.

            dropcss Key Features

            No Key Features are available at this moment for dropcss.

            dropcss Examples and Code Snippets

            No Code Snippets are available at this moment for dropcss.

            Community Discussions

            No Community Discussions are available at this moment for dropcss.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install dropcss

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i dropcss

          • CLONE
          • HTTPS

            https://github.com/leeoniya/dropcss.git

          • CLI

            gh repo clone leeoniya/dropcss

          • sshUrl

            git@github.com:leeoniya/dropcss.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link