fp-ts-string
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

fp-ts extra string utils

import {split,join} from 'fp-ts-string'
import {pipe} from 'fp-ts/lib/pipeable'
import * as assert from 'assert'

const result = pipe(
    "a,b,c",
    split(','),
    join(':')
)

assert.deepStrictEqual(result, "a:b:c")

Package Sidebar

Install

npm i fp-ts-string

Weekly Downloads

5

Version

1.1.1

License

MIT

Unpacked Size

1.91 kB

Total Files

6

Last publish

Collaborators

  • stevemao