uCSS was developed by the same team that developed the Opera Internet browser and works from the Node.js CLI.
Just point uCSS towards an HTML file and a CSS file, and it will detect which CSS rules are actually used inside the HTML file, giving a short overview at the end of all unused CSS selectors.
Additionally uCSS can also find duplicate CSS selectors, and count how many times a rule has been used.
All while crawling the page and following embedded links from the same domain, and also showing extra information about redirects, dead links, and server responses.
Support is also included for a uCSS configuration file, this letting the developers search for unused CSS files behind login systems, inside subfolders, by excluding "certain" pages, and even setting a list of CSS rules to be ignored from the report.
Overall the uCSS utility can prove pretty helpful, especially for developers working on large scale projects where the sheer number of pages and CSS files can overwhelm programmers and produce large quantities of duplicate or unused CSS code.
What is new in this release:
- Fixed Bugs:
- Bug where crawler reached maximum call stack size on large sites.
- Links pointing to URLs with other protocols than HTTP(S) are not followed.
What is new in version 0.4.6-beta:
- Fixed Bugs:
- Bug where crawler reached maximum call stack size on large sites.
- Links pointing to URLs with other protocols than HTTP(S) are not followed.
Requirements:
- Node.js 0.6 or higher
Reacties niet gevonden