1.0.1 • Published 8 months ago

@wlcr/utils v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

WLCR Utilities

A library of Typescript-friendly utilities designed for interal use at WLCR.io

Installation

Simple add via npm or your package manager of choice

npm i @wlcr/utils

Usage

Import utils as needed:

import { handleize } from '@wlcr/utils';

Available Utilities

Handleize

Convert strings to a handle-friendly format (kebab-case, no special characters), which are useful for url paths, keys, etc.

import { handleize } from '@wlcr/utils';

console.log(handleize('Test String with spaces and special characters!'))

// Output: test-string-with-spaces-and-special-characters
1.0.1

8 months ago

1.0.0

8 months ago