@mattpocock.comMatt Pocock @mattpocock.com
2025-04-01 11:20 UTC
Two cool things in this snippet: 1. You can use 'glob' from Node instead of a library! (still experimental, available in 22+) But glob returns an async iterator, which can be annoying to work with. So... 2. Array.fromAsync lets you turn an async iterator into an array. Beautiful.
1 picture (not shown on this phone)
105 likes, 11 reposts, 5 replies
3 Next post4 More from @mattpocock.comBackBluesky home