0.1.0 • Published 5 years ago

@clearsummit/carabiners v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Carabiners

Bits that hold you code together

Description

Usage

Import the functions or utilities that you'd like to use as named imports.

import { joinStr } from '@clearsummit/carabiners'

const name = joinStr('John', 'Smith)
console.log(name)
// 'John Smith'
const hyphenName = joinStr({char: '-'}, 'John', 'Smith)
console.log(hyphenName)
John-Smith