This package contains a avatar component.
Change Log
You can install this package using npm, yarn, or pnpm.
npm install @pikas-utils/file
yarn add @pikas-utils/file
pnpm add @pikas-utils/file
Return a color based on the file extension.
Colors are based on the Mikael Edwards color palette.
import { getColorByExtension } from '@pikas-utils/file';
getColorByExtension('png');
// => '#df7971'
This documentation can be edited on GitHub here