0.0.16 • Published 11 months ago

@slekup/utils v0.0.16

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Slekup Utils


A collection of utility functions and classes to help optimize development.

Discord Server NPM Version NPM Downloads Test Status NPM Size


This is mostly an internal package I use for my projects, but anyone is free to use it. This README will cover most of the utilities available in this package, but for more information on how to use them, you can refer to the inline tsdoc comments.

Installation

npm install @slekup/utils

Functions

FunctionDescription
ensureDirectoriesEnsures that arrays of directories exist or are created
ordinalNumberAdds the ordinal suffix to a number
splitArraySplit an array into chunk
stripIndentsRemoves the indents from a string
verifyEnvironmentVerifies that the environment variables are set are are the right type
chanceReturns a random boolean based on a chance (0 - 100)

Classes

ClassDescription
0.0.16

11 months ago

0.0.15

11 months ago

0.0.14

11 months ago

0.0.13

12 months ago

0.0.12

12 months ago

0.0.11

12 months ago

0.0.10

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago