2.0.0 ā¢ Published 2 years ago
@ultirequiem/file_extension v2.0.0
Get File Extension
Get the extension of a file.
Usage
The API is the same on all this platforms āļø
Deno š¦
import { fileExtension } from "https://deno.land/x/file_extension/mod.ts";
fileExtension("main.py"); // py
Node.js š¢š
import { fileExtension } from "@ultirequiem/file-extension";
Browser š
You can use any CDN š„
Eg š ESM āļø SkyPack š Script Tag āļø JSDelivr
Documentation
Is hosted on Deno Doc š
Support
Open an Issue, I will check it a soon as possible š
If you want to hurry me up a bit send me a tweet š
Consider supporting me on Patreon if you like my work š
Don't forget to start the repo ā
Versioning
We use Semantic Versioning. For the versions available, see the tags š·ļø
Licence
Licensed under the MIT License š
2.0.0
2 years ago