deleteFile
: Remove unnecessary file existence checksjoinFilePath
: Responding to parent dir paths- cleanup: Remove redundant codes
- BREAKING CHANGE: Most methods have been renamed to avoid conflicts with the fs module in named imports. Please refer to
README.md
. - BREAKING CHANGE: Most methods now behave async, returning a Promise. Please change your existing code to use
await/then
to ensure correct behavior. toValidFilePath
:resolvePath
method renamed totoValidFilePath
toValidFilePath
: Fix incorrect path retuning on WindowsgetParentFilePath
: Add getParentFilePath method
- BREAKING CHANGE:
normalize
now requires thenormalizationForm
value to be entered directly instead of theos
argument value. If specified asundefined
, it defaults toNFC
(e.g.NFC
,NFD
...) isHidden
: Reduce the load by using a faster, simpler algorithm.
toPosixPath
: Add toPosixPath methodgetPathLevel
: Add getPathLevel method
isHidden
: Fix not working correctly
- Remove unnecessary files
ext
: Fix getting wrong extension when using windows- Remove dependent module
ext
: Fix getting wrong extension if the folder path contains a dot
ext
: String always return lower case
touchDummy
: Add touchDummy method- Fix README.md
- Upgrade package dependencies
normalize
: Add normalize methodhead
: Add head methodtail
: Add tail method
- Fix README.md
- Support named import
- Upgrade package dependencies
- Change test script to TypeScript
- Add prettier and reformat all codes
- Upgrade package dependencies
- Reduced bundle size due to minify executable code
- Add GitHub workflows
fileName
: Add fileName method
ext
: Add ext methodstat
: Add stat method- Upgrade package dependencies
empty
: Add empty methodrm
: usermSync
instead ofunlinkSync
touch
: Add touch methodrm
: Add rm method
- First version release
- This is for the Alpha release and is not recommended for use