🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@acrool/js-mime

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acrool/js-mime

<img src="https://raw.githubusercontent.com/acrool/acrool-js-mime/main/example/public/og.png" al

latest
Source
npmnpm
Version
2.3.4
Version published
Maintainers
1
Created
Source

Acrool JS MIME

Acrool JS Utils Logo

This is a commonly used JS toolbox, designed to facilitate rapid daily development.

NPM npm

npm downloads npm

Installation

yarn add @acrool/js-mime

Examples

These are examples of imports for various types

import {mimeType2extname, extname2mimeType} from 'acrool-js-mime';

mimeType2extname('image/jpeg');
// jpg

extname2mimeType('jpg');
// image/jpeg

Publishing

$ yarn build && npm publish ./dist --access=public

License

MIT © Acrool & Imagine

FAQs

Package last updated on 23 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts