Nomenclature Predictably Misunderstood

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

    1.0.2 • Public • Published

    text-clamp

    Installation

    You can use this package on the server side as well as the client side.

    Node.js:

    npm install text-clamp
    

    API

    clamp(element, options)

    Usage

    import {clamp} from 'text-clamp'
    clamp(element, {
        clamp:2
    })
     

    Install

    npm i text-clamp

    DownloadsWeekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • penyuying