# class-range **Repository Path**: mirrors_WebReflection/class-range ## Basic Information - **Project Name**: class-range - **Description**: An iterable Range class. - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2025-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # class Range [![Build Status](https://travis-ci.com/WebReflection/class-range.svg?branch=master)](https://travis-ci.com/WebReflection/class-range) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/class-range/badge.svg?branch=master)](https://coveralls.io/github/WebReflection/class-range?branch=master) ![WebReflection status](https://offline.report/status/webreflection.svg) An iterable Range class. The usage is as simple as `new Range(start = 0, end = Infinity, step = 1)`, with a `.for(iterable)` method. ```js import Range from 'class-range'; for (const i of new Range(0, 3)) console.log(i); // 0, 1, 2 for (const c of new Range(1, 3).for('abcd')) console.log(c); // "b", "c" ```