1.0.1 • Published 9 months ago

@studiohyperdrive/utils v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Utilities (@studiohyperdrive/utils)

Install the package first:

npm install @studiohyperdrive/utils

1. Object

A set of Object based helpers.

getKeyByValue

The getKeyByValue helper function will search for a key within an object, based on the provided value.

Full documentation.

combineBoolean

Merges all arguments into a single object, as long as the property has a value.

Full documentation.

2. String

A set of String based helpers.

camelCaseToSentence

Converts a camelCase string to a human-readable sentence.

Full documentation.

replaceHtmlWhitespace

Returns the filtered html as a string that has replaced the non-breakable whitespaces with regular spaces.

Full documentation.

stringComparator

Compares two strings alphabetically using localeCompare.

Full documentation.

build information

This project has been build with:

  • nodejs: 18.17.0
  • npm: 9.6.7

For a complete list of packages and version check out the package.json file.

Team

This bundle of tools has been created and is maintained by Studio Hyperdrive.

Contributors:

1.0.1

9 months ago

1.0.0

9 months ago