chai-iterator is a Chai plugin that adds assertions for testing JavaScript iterators and iterables. It provides convenient methods for verifying the values yielded by an iterator and ensuring its completion. Specifically, it allows you to assert that an iterator is done, not done, and yields a specific sequence of values. This simplifies testing asynchronous and synchronous iterators, enhancing code quality and reliability. Ideal for projects leveraging JavaScript's iteration protocols.