@wlcr/utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @wlcr/utils

Weekly Downloads

5

Version

1.0.1

License

ISC

Unpacked Size

4.16 kB

Total Files

8

Last publish

Collaborators

  • hsdonkin
  • mrspecific