@alexistessier/msg
v1.1.9
Published
Tiny helper to write single line messages on multiple lines
Downloads
41
Maintainers
Readme
@alexistessier/msg
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