Have ideas to improve npm?Join in the discussion! »

    simple-class-namer
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.3 • Public • Published

    dep min minZip

    feature

    classname utilities.
    supports array/object.

    usage

    npm i simple-class-namer -S
    import { classNamer } from "simple-class-namer";
     
    classNamer("a", "b", "c", false, null) // "a b c"
    classNamer(["a", false, "b"]) // "a b"
    classNamer({a: null, b: true, c: true}) // "b c"
    classNamer("a", { b: false, c: true }, ["e", null, "f"]) // "a c e f"

    Install

    npm i simple-class-namer

    DownloadsWeekly Downloads

    1

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    23.9 kB

    Total Files

    13

    Last publish

    Collaborators

    • avatar