Release 4 new icons (v15.5.0)
API updates
Now the data JSON entry has declarations. We also moved those data JSON related types to the simple-icons.d.ts. (#13510) (@LitoMore)
// Import default only
import icons from 'simple-icons/icons.json' with {type: 'json'};// Import types only
import type {
IconData,
Aliases,
DuplicateAliases,
License,
CustomLicense
} from 'simple-icons/icons.json';// Import both default and types
import icons, {
type IconData,
type Aliases,
type DuplicateAliases,
type License,
type CustomLicense
} from 'simple-icons/icons.json' with {type: 'json'};