UNPKG

@sanpuru/prisma-session-store

Version:
9 lines (8 loc) 328 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.range = void 0; /** * Creates an array starting at 0 going to `length` -1 * @param length the value to end just before reaching */ exports.range = function (length) { return Array.from({ length: length }, function (_, i) { return i; }); };