An open API service indexing awesome lists of open source software.

https://github.com/kawarimidoll/deno-join-by

Joins an array of items into a string, using a separator function.
https://github.com/kawarimidoll/deno-join-by

deno deno-module typescript

Last synced: about 2 months ago
JSON representation

Joins an array of items into a string, using a separator function.

Awesome Lists containing this project

README

          

# deno-join-by

Joins an array of items into a string, using a separator function.

```ts
import { joinBy } from "https://deno.land/x/join_by/join_by.ts"
joinBy([1, 16, 9, 4, 25], (p, c) => p > c ? " > " : " < ");
// "1 < 16 > 9 > 4 < 25"
```