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

    1.0.0 • Public • Published

    glue-text Travis CI Build Status

    Ensure text is not broken when its container is resized. Useful for ensuring kaomoji remain together.

    NPM Badge

    Install

    npm install glue-text

    Usage

    const glueText = require("glue-text")
    
    // Add no-break spaces
    glueText("a b c")
    //=> "a b ⁠c"
    
    // Add word joiners
    glueText("o-o")
    //=> "o-⁠o"

    API

    glueText(input)

    input

    Type: string

    The text to glue.

    Install

    npm i glue-text

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.52 kB

    Total Files

    6

    Last publish

    Collaborators

    • richienb