Open jondashkyle opened 6 years ago
feel like it is clearer to just rely on https://github.com/jondashkyle/nanopage#toarray when you want array methods, that way we're not selectively proxying them? wut u think?
Totally. I was thinking something like this could be useful.
var pages = page().pages().filter(name => name === 'jon').paginate(2, 10).toArray()
But yeah, either way.
Should just expose array methods, too!