Skip to content

userquin/mdi-js-es

Repository files navigation

mdi-js-es

npm version npm downloads License

ESM build of @mdi/js.

Why?

@mdi/js is a great package, but it is only CJS:

Versioning

This package will use the same @mdi/svg version number.

There is no guarantee that this package will be updated to the latest version of @mdi/svg, feel free to file an issue if you want to request an update.

Usage

Install:

# pnpm
pnpm add mdi-js-es

# npm
npm i mdi-js-es

# yarn
yarn add mdi-js-es

Import:

// ESM
import { /* icons */ } from 'mdi-js-es'

// CommonJS
const { /* icons */ } = require('mdi-js-es')

License

MIT