# dacong-fileicon

> 文件格式图标

Latest version **1.0.0** (published 2023-09-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install dacong-fileicon
pnpm add dacong-fileicon
yarn add dacong-fileicon
bun add dacong-fileicon
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-09-05 |
| First published | 2023-09-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 430.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dacong.wu |
| Keywords | file-type, file-icon, type-icon, file-svg |

## Links

- npm: https://www.npmjs.com/package/dacong-fileicon
- npm.io page: https://npm.io/package/dacong-fileicon

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [stockfish](https://npm.io/package/stockfish.md) — 27.0K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2023-09-05

## README

### 安装

```shell
npm install dacong-fileicon@latest
```

### 使用

```vue
<script setup>
import { FileIcon } from 'dacong-fileicon'
let extension = '' // 文件的拓展名，🌰png sql js
let height = '' // 图标的高度
let width = '' // 图标的宽度
</script>
<template>
  <QrLogin :loginUrl="loginUrl" :height="height" :width="width" />
</template>
```

### Props

```json
{
    extension:'', //String 文件的拓展名 default:'in'
    height:'', //Number 图标的高度 default:20
    width:'' //Number 图标的宽度 default:20
}
```

### 注意事项

1. 这是Vue3的组件
2. 高度和宽度要保持一致，因为原图为1:1

---
_Source: https://npm.io/package/dacong-fileicon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
