rangely

Yet another range interator similar to pythons built-in.

Usage no npm install needed!

<script type="module">
  import rangely from 'https://cdn.skypack.dev/rangely';
</script>

README

rangely

Yet another range iterator similar to python's range() built-in. There are a million other libraries like it but this one is mine.

Full Docs: https://nathansmb.github.io/rangely/

Installation:

$ yarn add rangely

or

$ npm install rangely

Example Usage:

import { range } from "rangely";

for (const index of range(1, 10)) {
    console.log(index);
}

// Prints 1, 2, 3, 4, 5, 6, 7, 8, 9