Skip to content

vaclavbenes/range

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ]

Releases

No releases published

Packages

No packages published