0.0.4 • Published 6 years ago
towpath v0.0.4
npm install towpath
import * as towpath from 'towpath'
const l = [1, 2, {foo: [{bar: 3}]}]
const p = towpath.addPaths(l)
towpath.value()
Resulting nested proxy object will pass through all methods
`${p[0]}, ${p[1]}, ${p[2].foo[0].bar}` // ===
"1, 2, 3"