Skip to content

10xly/concat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@rightpad/concat

String concatenation utility


Installation

npm install @rightpad/concat

Usage

This package provides a safe way to concatenate strings.

const concat = require('@rightpad/concat')

const result = concat('Hello', ' ', 'World', '!')
console.log(result) // "Hello World!"

API

concat(...args)

  • args: any — Values to be concatenated into a string.
  • Returns: string — The concatenated result.

faq

Q: This is named after left-pad!!

How on earth is @rightpad/concat named after left-pad???????? What kind of logic is that??? It's not. How can something that only shares three characters be named after something else??? That's like saying Michael is named after Fartael!! Also, that's not a question?

Q: But left is the opposite of right!!

So??? It's not like Mich is not the opposite of Fart!!! Also that's not a question either.

Q: What's 9 + 10?

Q: why?

we are 10x engineers


License

Unlicense

Author

This package is by 10x'ly Made.