unified

  1. unifiedjs.com
  2. plugins to minify HTML
  1. 72%
  2. MIT
  3. 52
  1. 2m
  1. html 65
  2. rehype 39
  3. rehype-plugin 33

Packages in monorepo

  1. hast-util-to-string

    hast utility to get the plain-text value of a node
    1. 72%
    2. 620k
    3. 256 B
  2. rehype-minify-whitespace

    rehype plugin to collapse whitespace
    1. 70%
    2. 233k
    3. 1.76 kB
  3. rehype-sort-attribute-values

    rehype plugin to sort attribute values
    1. 70%
    2. 178k
    3. 1.42 kB
  4. rehype-sort-attributes

    rehype plugin to reorder attributes based on how often they occur
    1. 70%
    2. 150k
    3. 1.05 kB
  5. hast-util-is-body-ok-link

    hast utility to check if a link element is “Body OK”
    1. 69%
    2. 170k
    3. 709 B
  6. rehype-remove-comments

    rehype plugin to remove comments (except conditional comments)
    1. 69%
    2. 31k
    3. 677 B
  7. hast-util-is-conditional-comment

    hast utility to check if a node is a conditional comment
    1. 68%
    2. 31k
    3. 227 B
  8. hast-util-from-string

    hast utility to set the plain-text value of a node
    1. 68%
    2. 9k
    3. 238 B
  9. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 68%
    2. 9k
    3. 250 B
  10. rehype-minify-attribute-whitespace

    rehype plugin to minify whitespace in attributes
    1. 68%
    2. 9k
    3. 1.61 kB
  11. rehype-minify-enumerated-attribute

    rehype plugin to minify enumerated attributes
    1. 68%
    2. 9k
    3. 14.9 kB
  12. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 68%
    2. 3k
    3. 800 B
  13. rehype-remove-duplicate-attribute-values

    rehype plugin to remove duplicates in attribute values with unique tokens
    1. 68%
    2. 9k
    3. 1.2 kB
  14. rehype-minify-css-style

    rehype plugin to minify style elements
    1. 68%
    2. 9k
    3. 48.1 kB
  15. rehype-minify-style-attribute

    rehype plugin to minify style attributes
    1. 68%
    2. 9k
    3. 48.1 kB
  16. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 67%
    2. 3k
    3. 286 B
  17. rehype-minify-javascript-url

    rehype plugin to minify JavaScript URLs
    1. 67%
    2. 3k
  18. rehype-minify-event-handler

    rehype plugin to Mminify event handler attributes
    1. 67%
    2. 3k
  19. rehype-minify-json-script

    rehype plugin to minify script elements with a JSON body
    1. 67%
    2. 3k
    3. 1.23 kB
  20. rehype-remove-empty-attribute

    rehype plugin to remove empty attributes
    1. 67%
    2. 3k
    3. 1.66 kB
  21. rehype-remove-script-type-javascript

    rehype plugin to remove type and language on JavaScript scripts
    1. 67%
    2. 3k
    3. 1.31 kB
  22. rehype-minify-media-attribute

    rehype plugin to minify media attributes
    1. 67%
    2. 3k
    3. 48.3 kB
  23. rehype-remove-external-script-content

    rehype plugin to remove content of external JavaScript script elements
    1. 67%
    2. 3k
    3. 1.3 kB
  24. rehype-remove-style-type-css

    rehype plugin to remove type on CSS style and links
    1. 67%
    2. 3k
    3. 930 B
  25. rehype-minify-meta-content

    rehype plugin to minify content on meta elements
    1. 67%
    2. 3k
    3. 1.41 kB
  26. rehype-normalize-attribute-value-case

    rehype plugin to normalize casing of attribute values
    1. 67%
    2. 3k
    3. 1.47 kB
  27. rehype-minify-meta-color

    rehype plugin to minify theme-color and msapplication-TileColor meta elements
    1. 67%
    2. 3k
    3. 48.3 kB
  28. rehype-remove-meta-http-equiv

    rehype plugin to remove http-equiv meta elements for shorter output
    1. 67%
    2. 3k
    3. 1.14 kB
  29. rehype-minify-javascript-script

    rehype plugin to minify script elements with a JS body
    1. 67%
    2. 3k
    3. 81.8 kB
  30. rehype-prevent-favicon-request

    rehype plugin to prevent a favicon.ico requests
    1. 66%
    2. 79
    3. 914 B
  31. rehype-minify-url

    rehype plugin to minify URLs
    1. 66%
    2. 937
    3. 4.29 kB
  32. rehype-minify-doctype

    rehype plugin to minify the HTML doctype
    1. 66%
    2. 38
    3. 803 B
  33. rehype-javascript-to-bottom

    rehype plugin to move JavaScript <script> to <body>
    1. 66%
    2. 43
  34. rehype-concat-javascript

    rehype plugin to concatenate JS <script> elements together
    1. 66%
    2. 42
    3. 1.48 kB
  35. rehype-concat-css-style

    rehype plugin to concatenate CSS <style> elements together
    1. 66%
    2. 39
    3. 1.07 kB
  36. rehype-css-to-top

    rehype plugin to move CSS <link> to <head>
    1. 66%
    2. 50
  37. rehype-preset-minify

    rehype preset to minify and mangle HTML
    1. 53%
    2. 3k
    3. 155 kB