@iterable-iterator/count

1.0.1 • Public • Published

🐑 @iterable-iterator/count

A counting function for JavaScript. See docs.

⚠️ Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {count} from '@iterable-iterator/count';
for (const i of count()) console.log(i); // 0 1 2 3 4 ...
count(2, 3); // 2 5 8 11 14 ...

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size

Package Sidebar

Install

npm i @iterable-iterator/count

Weekly Downloads

76

Version

1.0.1

License

AGPL-3.0

Unpacked Size

495 kB

Total Files

16

Last publish

Collaborators

  • raskat
  • aureooms