Narnia Produced Magic

    @lazy-cjk/slugify
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.94 • Public • Published

    README.md

    Unicode to Latin transliteration + slugify module
    

    install

    yarn add @lazy-cjk/slugify
    yarn-tool add @lazy-cjk/slugify
    yt add @lazy-cjk/slugify
    import slugify, { transliterate } from '../index';
    
    let word = `不支援 𠮷𠬠𡬶𫗭𣛙𢎐 ...這類字🍔\t🍕\t🍖\t🍗\t🍘\t🍙\t🍚\t🍛`;
    
    console.log(transliterate(word))
    console.log(slugify(word))
    
    console.log(transliterate(word, {
    	emoji: true,
    }))
    console.log(slugify(word, {
    	emoji: true,
    }))

    Install

    npm i @lazy-cjk/slugify

    DownloadsWeekly Downloads

    209

    Version

    1.0.94

    License

    ISC

    Unpacked Size

    52 kB

    Total Files

    24

    Last publish

    Collaborators

    • bluelovers