@tinyfe/classnames
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.8 • Public • Published

    @tinyfe/classnames

    The useful utility for making scoped classname.

    Usage

    import { prefix, classnames } from '@tinyfe/classnames';
    
    classnames(1, 'info', ['rain120', { FEer: true }], {
      react: true,
      vue: false,
    }); // 1 info rain120 FEer react
    
    prefix('RAINY__')(1, 'info', ['rain120', { FEer: true }], {
      react: true,
      vue: false,
    }); // RAINY__1 RAINY__info RAINY__rain120 RAINY__FEer RAINY__react

    Install

    npm i @tinyfe/classnames

    DownloadsWeekly Downloads

    11

    Version

    0.0.8

    License

    MIT

    Unpacked Size

    5.97 kB

    Total Files

    7

    Last publish

    Collaborators

    • rain120