Bag Of Holding

A magical grab bag of useful tools for the discerning developer


On this page you will find interactive examples. Please consult the documentation for further details and a tutorial.

@bagofholding/camel-to-kebab

Enter a camelCase string to get camel-kebabs

delicious-camel-kebab

@bagofholding/is-external

Enter a string below to find out if it is an external link.

Not External


Custom Conditional

An optional second parameter can be passed a function. The return response is then used in the is-external check.

Not External

@bagofholding/guid

Quickly generate a GUID string for short term ops, e.g. queued job IDs

@bagofholding/strip-chars-url-safe

Converts a string to a URL safe string for filenames or slugs.

this-is-an-itrntinliztin-place-for-internationalization-people