1.0.2 • Published 12 months ago

cball v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
12 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

12 months ago

1.0.1

1 year ago

1.0.0

1 year ago