Software Alternatives & Reviews

How to slugify a string in JavaScript

Voca Lo-Dash
  1. 1
    NOTE: Voca has been discontinued.
    Voca provides functions to manipulate strings in JavaScript: change case, trim, pad, slugifly, latinise, sprintf, truncate, escape and more
    Voca (3.5k ⭐) — The Voca library offers helpful functions to make string manipulations comfortable: change case, trim, pad, slugify, latinise, sprintf'y, truncate, escape and much more. In Voca, slugify is a function that converts a string to a URL-friendly slug format.

    #Developer Tools #Software Libraries #JavaScript 2 social mentions

  2. Lo-Dash is a drop-in replacement for Underscore.
    Pricing:
    • Open Source
    Lodash (56k ⭐) — This library provides a wide range of utility functions for JavaScript, including a kebabCase function that can be used to convert a string to kebab case, which is similar to slug format. Kebab case format is a naming convention where words are separated by a hyphen (-) and all letters are in lower case.

    #Development Tools #Javascript UI Libraries #JavaScript Framework 85 social mentions

Discuss: How to slugify a string in JavaScript

Log in or Post with