https://github.com/samislam/concat-str
A simple function with zero dependencies to concatinate multiple strings together to form a proper sentence.
https://github.com/samislam/concat-str
Last synced: 4 months ago
JSON representation
A simple function with zero dependencies to concatinate multiple strings together to form a proper sentence.
- Host: GitHub
- URL: https://github.com/samislam/concat-str
- Owner: samislam
- Created: 2024-12-26T11:11:56.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-26T11:29:42.000Z (6 months ago)
- Last Synced: 2024-12-26T12:19:41.902Z (6 months ago)
- Language: TypeScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# concat-str
A simple function with zero dependencies to concatinate multiple strings together to form a proper sentence.
# Installation
```bash
$ npm install concat-str
# or
$ pnpm add concat-str
# or
$ bun add concat-str
```# Usage
```ts
import { concat } from 'concat-str'
console.log(concat("hello", "there")) // # "hello there"
console.log(concat(["hello", "there"])) // # "hello there"
```