1.0.0 • Published 2 months ago
@samuel-lewis/utils v1.0.0
@samuel-lewis/utils
A collection of various Javascript utilities.
Array
divide
: Divides an array into two parts based on a given predicatesplit
: Given two arrays, finds their unique and intersecting values
Slug
toSlug
: toSlug converts a string to a url safe slugtoUniqueSlug
: toUniqueSlug does the same astoSlug
, with addition of a unique ID