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

1.0.1 • Public • Published

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:

/@studiohyperdrive/utils/

    Package Sidebar

    Install

    npm i @studiohyperdrive/utils

    Weekly Downloads

    24

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    11.9 kB

    Total Files

    19

    Last publish

    Collaborators

    • wouterheirstrate
    • ekincia
    • bertyhell
    • shd-developer
    • ian-emsens-shd
    • jeroenvalcke
    • tom-odb
    • brilniels
    • thomasbormans
    • sanderh
    • laurenspeeters
    • rednas
    • denisvalcke
    • ibenvandeveire