Skip to content

gnlow/futil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

futil

import { makeContainer } from "https://esm.sh/gh/gnlow/futil/mod.ts"
const container = makeContainer({})

container("hello")
    .length
    .pipe(x => x * 2)
    .get() // 10

container("hello")
    .repeat(3)
    .get() // "hellohellohello"
const container = makeContainer({
    double: (x: number) => x * 2,
})
container(123)
    .double()
    .get() // 246

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published