Releases: CodeWitchBella/isbl-fs
Releases · CodeWitchBella/isbl-fs
Version 0.5.0
- 70a25d5 feat: support multiple @types/node versions at once
I still have to export everything, but if your @types/node version matches your actual node version, this package should export type undefined for that export. I already did that at runtime (so that this package does not crash). This requires me to write .d.ts files manually, but I think that it is worth it 🤓
Also, this means that proper way to check if method (eg. cp
added in 16.7.0) is available is to do if (fs.cp)
, not if ('cp' in fs)
, because the second is always true... It also means that you can do import { fs } from '@isbl/fs'
even if you are on older nodejs version.
Version 0.4.0
Version 0.3.0
Version 0.2.0
- b9e2745 add support for writeFileSync and readdir