Nefarious Pickle Muncher

    slugy
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    🌐 Slugy

    Easily slugify url & titles from any ordinary string.

    Standard JS npm version npm downloads package phobia bundle phobia

    Installation

    Using yarn:

    yarn add slugy

    Using npm:

    npm i slugy

    Usage

    const { slugy } = require('slugy');
    
    slugy('Hello World'); // hello-world
    
    // With options:
    slugy('Hello World', { separator: '_', lower: false }); // Hello_World

    Install

    npm i slugy@1.0.2

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.44 kB

    Total Files

    4

    Last publish

    Collaborators

    • gomah