A safer way to parse string to number
This Project rely on bun toolchain
import { numberSafeParse } from "@ghoullier/number-safe-parse"
const parsed = numberSafeParse('42')
parsed === 42
bun install
bun test
bun run build
A safer way to parse string to number
This Project rely on bun toolchain
import { numberSafeParse } from "@ghoullier/number-safe-parse"
const parsed = numberSafeParse('42')
parsed === 42
bun install
bun test
bun run build