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

    wordwrap-component

    0.0.1 • Public • Published

    wordwrap

    wordwrap

    Installation

    $ component install yields/wordwrap
    

    API

    wordwrap(str, max, eol)

    wordwrap('Hello, World!', 5, '\n');
    // > 'Hello\n, Wor\nld!'

    wordwrap(str, max)

    wordwrap('Hello, World!', 5);
    // > 'Hello\n, Wor\nld!'

    Tests

    # make test
    

    License

    MIT

    Keywords

    Install

    npm i wordwrap-component

    DownloadsWeekly Downloads

    4

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • avatar