1.0.2 • Published 10 months ago

cball v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

About

Apply a callback function recursively to all values in an Array, Object, String or Number.

const cba = require('cball')
let ob = { a: "1", b: { c: 3, d: "4" } };
ob = cba(ob, (v) => Number(v)); // { a: 1, b: { c: 3, d: 4 } }
1.0.2

10 months ago

1.0.1

11 months ago

1.0.0

11 months ago