Skip to content

Latest commit

 

History

History
executable file
·
30 lines (20 loc) · 443 Bytes

README.md

File metadata and controls

executable file
·
30 lines (20 loc) · 443 Bytes

Naive range method for deno 🧗‍♀️

range(from:string|number, to:string|number,step:number)

import to module

import { range } from "https://raw.githubusercontent.com/vaclavbenes/range/master/range.ts";
range(1,10) // [1,2,3,4,5,6,7,8,9,10]
range(1,10,2) // [1,2,3,4,5,6,7,8,9,10]
range("a","z") // [a,b,c,d,e,f,g,h,i,k ... z]
range("A","Z") // [A,B,C,D,E,F,G,H,I, ... Z ]