How to use @mdi/js - 1 common examples

To help you get started, we’ve selected a few @mdi/js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github robcresswell / vue-material-design-icons / build.js View on Github external
(async function() {
  const iconIDs = Object.keys(icons);

  if (!fs.existsSync(dist)) {
    fs.mkdirSync(dist);
  }

  const templateData = iconIDs.map(getTemplateData);

  // Batch process promises to avoid overloading memory
  await pMap(templateData, renderAndWrite, { concurrency: 20 });
})();

@mdi/js

Dist for Material Design Icons for JS/TypeScript

Apache-2.0
Latest version published 11 months ago

Package Health Score

67 / 100
Full package analysis

Popular @mdi/js functions