general-utils-lt
v0.0.7
Published
general purpose utilities, includng Number and Array utilities
Downloads
4
Maintainers
Readme
Utilities
General purpose utilities including classes for Number and Array utilities.
Installation
npm install general-utils-lt
yarn add general-utils-lt
Usage (npm)
Typescript or Javascript
import { ArrayUtils } from 'general-utils-lt'
const utils = new ArrayUtils()
utils.groupArrayElements([1, 2, 3, 4, 5], 3)
// [ [1, 2], [3, 4], [5] ]
Usage (deno)
import GeneralUtils from 'https://cdn.skypack.dev/general-utils-lt'
const utils = new GeneralUtils.ArrayUtils()
utils.groupArrayElements([1, 2, 3, 4, 5], 3)
// [ [1, 2], [3, 4], [5] ]
Usage (Skypack)
<script>
import { ArrayUtils } from 'https://cdn.skypack.dev/general-utils-lt'
const utils = new ArrayUtils()
utils.groupArrayElements([1, 2, 3, 4, 5], 3)
// [ [1, 2], [3, 4], [5] ]
</script>