mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-15 18:04:12 +03:00
17ea889273
Co-authored-by: LitoMore <LitoMore@users.noreply.github.com>
12 lines
372 B
JavaScript
12 lines
372 B
JavaScript
import { getIconsData, getIconSlug, slugToVariableName } from '../sdk.mjs';
|
|
import * as simpleIcons from '../index.mjs';
|
|
import { testIcon } from './test-icon.js';
|
|
|
|
for (const icon of await getIconsData()) {
|
|
const slug = getIconSlug(icon);
|
|
const variableName = slugToVariableName(slug);
|
|
const subject = simpleIcons[variableName];
|
|
|
|
testIcon(icon, subject, slug);
|
|
}
|