2.1.0 ā€¢ Published 2 years ago

@ultirequiem/file-extension v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Get File Extension

Code Coverage Deno Doc

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 šŸ“„