Not Providing Milkshakes

    @alexistessier/msg

    1.1.9 • Public • Published

    @alexistessier/msg

    draft

    Branch : release version npm version

    Build Status Coverage Status

    Dependency Status devDependency Status

    Tiny helper to write single line messages on multiple lines

    How to use

    const msg = require('@alexistessier/msg');
    
    console.log(msg(
      `Oh no, this message is too long !!! It's better`,
      `to split it in multiple lines, otherwise my codebase`,
      `will be a little bit ugly.`,
      `In Spanish now !!!`,
      `¡¡¡ Oh no, este mensaje es muy grande !!! Parece mejor`,
      `dividir lo en varias lineas, en otro caso mi base de código`,
      `sera un pocito feia.`,
      `¡¡¡ En Español ahora !!!`
    ))

    Documentation

    Table of Contents

    msg

    takes strings as parameters, join them with a space and returns the result.

    Parameters

    • strings ...string The strings to join

    Returns string the joined strings

    License

    @alexistessier/msg is released under MIT. Copyright (c) 2017-present Alexis Tessier

    Install

    npm i @alexistessier/msg

    DownloadsWeekly Downloads

    20

    Version

    1.1.9

    License

    MIT

    Unpacked Size

    1.98 MB

    Total Files

    49

    Last publish

    Collaborators

    • alexistessier