package
Extract the file extension from a path.
npm install file-ext
GitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Latest published Feb 22, 2020
latest
Registry package owners.
richienb
richiebendall@gmail.com
const fileExt = require("file-ext"); fileExt("a/b.txt"); //=> 'txt'
Type: string
string
The filename to extract the extension from.
Estimated unpacked size across 12 packages.
1.0 MB
Includes dependencies.
2 direct · 1 outdated
^0.16.0
3.1.1
^1.0.2
1.0.2