nth-check is a lightweight JavaScript library focused on validating and parsing nth-child-like selectors. It offers utilities for understanding and manipulating complex selector formulas commonly found in CSS. Primarily utilized within CSS processing tools and browser engines, this package empowers developers to accurately determine if an element matches a given nth-child expression, contributing to precise style application and layout rendering. It is optimized for performance and accuracy.
The npm package nth-check has infrequent releases. Initial versions 1.0.0 and 1.0.1 were released in February 2014 and March 2015 respectively. Version 1.0.2 came out in October 2018. Version 2.0.0 was released in December 2020 and 2.0.1 in September 2021. The latest releases, versions 2.1.0 and 2.1.1, were in May 2022. No releases have occurred since May 2022.
Nth-check's npm package downloads show a generally increasing trend from March 2024 to August 2025, peaking in June 2025. Downloads consistently exceeded 100 million monthly. September 2025 data is incomplete, showing zero downloads so far. The overall trend suggests strong and growing usage of the package.