Skip to content

Releases: jckdm/CSS-parser

v3.1

Choose a tag to compare

@jckdm jckdm released this 13 Mar 20:41

Found and fixed a bug while adding this project to my in-progress website. CSS filepaths were truncated to their filenames, so I added a (sadly O(n)) lookup function to extend these filenames into paths.

v3.0

Choose a tag to compare

@jckdm jckdm released this 12 Jul 01:42

Parser is now more flexible when handling uniquely styled code. Handles removing all rules on a line, rules defined entirely on one line, psuedo-classes and all of their complexities, as well as media queries.

v2.9

Choose a tag to compare

@jckdm jckdm released this 04 Jul 02:55

Prepends empty style rules to .css files where rules were previously undefined. If user doesn't wish to automate cleaning process, they may download a .txt file with the results of parsing their files.

v2.8

Choose a tag to compare

@jckdm jckdm released this 30 Jun 04:24

Now identifies undefined classes & IDs in HTML! Now actually does what v2.5 claimed to do! Now with more ternary operators! And comments!

v2.5

Choose a tag to compare

@jckdm jckdm released this 21 Jun 16:32

Cleans multiple files, removing all unused classes & IDs, then outputting new files.

v2.2

Choose a tag to compare

@jckdm jckdm released this 12 Jun 16:42

v2.2 includes the file name and line number alongside each unused style rule. Still hoping to remove the style rule from the .css file.

Initial Release

Choose a tag to compare

@jckdm jckdm released this 10 Jun 14:06

The parser is functional! v2.0 includes the basic error checking and flexibility of input which were lacking in v1.0. Users can parse singular or multiple .css and .html files, as well as receive (minimal) validation of the files which were read and the number of unique classes and IDs which were parsed. Soon, I hope to include the file name alongside its unused style rules. Eventually, I'd like to remove that style rule from the .css file, outputting a new file entirely.