paulmillr / readdirp

Recursive version of fs.readdir with streaming api.
https://paulmillr.com
MIT License
381 stars 52 forks source link

bigint param not work #183

Closed hughdev closed 3 years ago

hughdev commented 3 years ago

/**

"readdirp": "^3.6.0", allwas bigint = true

like this code const files = await readdirp.promise('test/dir', { bigint: false, })

hughdev commented 3 years ago

@paulmillr

paulmillr commented 3 years ago

we don't have option bigint: true/false. Bigint is automatically used on windows and not used on non-windows.

hughdev commented 3 years ago

hello. why? return bigint JSON.stringify() doesn't know how to serialize a BigInt.when i run windows. can u help how to solve it .

options there any problem writing here? options ctrol it true|false? can u support it? @paulmillr

hughdev commented 3 years ago

hello, whty not support options? bigint? @paulmillr

paulmillr commented 3 years ago

100