# @avto-dev/vehicle-logotypes 中文文档

规范地址：https://npmcn.com/package/%40avto-dev/vehicle-logotypes/

版本：2\.12\.0
npm 元数据更新时间：2026-09-22T13:14:50.782Z
中文译文更新时间：2026-11-07T08:24:29.589Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40avto-dev/vehicle-logotypes
原文对照：https://npmcn.com/package/%40avto-dev/vehicle-logotypes/?lang=original
项目主页：https://github.com/avto-dev/vehicle-logotypes
源码仓库：https://github.com/avto-dev/vehicle-logotypes

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：227 kB，7 个文件
- TypeScript 类型：未声明
- Node.js 要求：\>=6\.0\.0
- 运行依赖：0 个
- 首次发布：2018-09-01T06:16:30.189Z
- 最新版本发布：2026-09-22T13:14:50.553Z
- 近 30 天下载量：6081（2026-10-07 至 2026-11-05，npm 官方下载统计）
- 已发布版本数：18（近 12 个月 1 个）

## 中文简介

车辆标志类型

## 安装

```sh
npm install @avto-dev/vehicle-logotypes
```

也可以使用：`pnpm add @avto-dev/vehicle-logotypes`、`yarn add @avto-dev/vehicle-logotypes`、`bun add @avto-dev/vehicle-logotypes`

## README

![PHP logo](https://avatars2.githubusercontent.com/u/32733144?s=70&v=4)

# 车辆标志型号

[![Build Status](https://img.shields.io/github/actions/workflow/status/avto-dev/vehicle-logotypes/tests.yml)](https://github.com/avto-dev/vehicle-logotypes/actions) [![License](https://img.shields.io/packagist/l/avto-dev/vehicle-logotypes.svg?longCache=true)](https://github.com/avto-dev/vehicle-logotypes/blob/master/LICENSE)

此寄存器包含 [结构文件](https://npmcn.com/package/%40avto-dev/vehicle-logotypes/src/vehicle-logotypes.json) (单位:千美元)`json` 格式),与车辆标志类型的图像有绝对链接. 时间到了,我们会更新它。 您也可以将这个寄存器作为软件包安装到您的应用程序中 .

所有图像都是 **压缩** 使用 [minchpng.com (中文(简体) )](https://tinypng.com/) 服务(这是最好的图像压缩器)并通过CDN网络交付.

逻辑类型 _(替代图像除外)_ 具有固定大小 - `240x180` 相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相.

演示是 [此处可用](https://avto-dev.github.io/vehicle-logotypes/)。 。 。 .

[![Logos plate](https://hsto.org/webt/zc/em/4n/zcem4nygx8qmia8jauczu6hxbfk.jpeg)](https://avto-dev.github.io/vehicle-logotypes/)

## 安装

### 使用 `composer` (中文(简体) )

[![Packagist version](https://img.shields.io/packagist/v/avto-dev/vehicle-logotypes.svg?maxAge=180)](https://packagist.org/packages/avto-dev/vehicle-logotypes) [![PHP Version](https://img.shields.io/packagist/php-v/avto-dev/vehicle-logotypes.svg?longCache=true)](https://packagist.org/packages/avto-dev/vehicle-logotypes) [![Coverage](https://img.shields.io/codecov/c/github/avto-dev/vehicle-logotypes/master.svg?maxAge=60)](https://codecov.io/gh/avto-dev/vehicle-logotypes/) [![Downloads count](https://img.shields.io/packagist/dt/avto-dev/vehicle-logotypes.svg?maxAge=180)](https://packagist.org/packages/avto-dev/vehicle-logotypes)

使用下列命令要求此软件包:

```shell
$ composer require avto-dev/vehicle-logotypes "^2.3"
```

> 已安装 `composer` 需要([如何安装作曲家](https://getcomposer.org/download/)) (中文(简体) ).

> 你需要修复主要版本的软件包.

之后,你可以:

```php
<?php

$logotypes = \AvtoDev\VehicleLogotypes\VehicleLogotypes::create();

// Get 'Opel' logotype uri
$opel_uri = $logotypes->get('opel')['logotype']['uri'];

// Get all 'BMW' models data
$bmw = $logotypes->filter(static function ($item) {
    return mb_stripos($item['name'], 'bmw') !== false;
});
```

### 使用 `npm` (节点)

[![NPM version](https://img.shields.io/npm/v/@avto-dev/vehicle-logotypes.svg)](https://www.npmjs.com/package/@avto-dev/vehicle-logotypes) [![NODE version](https://img.shields.io/node/v/@avto-dev/vehicle-logotypes.svg)](https://www.npmjs.com/package/@avto-dev/vehicle-logotypes) [![NPM downloads](https://img.shields.io/npm/dt/@avto-dev/vehicle-logotypes.svg)](https://www.npmjs.com/package/@avto-dev/vehicle-logotypes)

使用以下命令要求使用 npm 软件包 :

```shell
$ npm i @avto-dev/vehicle-logotypes
```

### 直接请求(http)

[![jsDelivr downloads](https://data.jsdelivr.com/v1/package/gh/avto-dev/vehicle-logotypes/badge?style=rounded)](https://www.jsdelivr.com/package/gh/avto-dev/vehicle-logotypes)

使用下一个 URI 获取内容 :

| 服务 | 版本 | URI 资源 |
| --- | --- | --- |
| 日记 | `2.x` | `https://cdn.jsdelivr.net/gh/avto-dev/vehicle-logotypes@2.x/src/vehicle-logotypes.json` |
| 日记 | `1.x` | `https://cdn.jsdelivr.net/gh/avto-dev/vehicle-logotypes@1.x/src/vehicle-logotypes.json` |

### 下载归档

下载最新版本( E)`master` 分支 : [津巴布韦](https://github.com/avto-dev/vehicle-logotypes/archive/master.zip) | [第三次评估报告](https://github.com/avto-dev/vehicle-logotypes/archive/master.tar.gz)

## 特征

自1.1.0版本以来,可以全部使用 [(原始内容存档于2017-10-21). imgix.com](https://docs.imgix.com/apis/url) 其特征有:大小调整、收割等.

例如,基本图像:

![basic](https://vl.imgix.net/img/bmw-logo.png)

> `https://vl.imgix.net/img/bmw-logo.png`

背景颜色 :

![rotated](https://vl.imgix.net/img/bmw-logo.png?bg=354651)

> `https://vl.imgix.net/img/bmw-logo.png?bg=354651`

用自定义文本覆盖图像 :

![with text](https://vl.imgix.net/img/bmw-logo.png?txt=YOUR%20TEXT&txtsize=62&txtclr=ff0000&txtalign=middle,center&txtfont=Futura%20Condensed%20Medium)

> `https://vl.imgix.net/img/bmw-logo.png?txt=YOUR%20TEXT&txtsize=62&txtclr=ff0000&txtalign=middle,center&txtfont=Futura%20Condensed%20Medium`

完整的文档可以是 [在这里找到的](https://docs.imgix.com/apis/url)。 。 。 .

## 图像来源

所有图像都取自公开来源,例如:

-   [(原始内容存档于2013-10-12). carlogos.org](http://www.carlogos.org/)
-   [谷歌图像](https://www.google.com/imghp?tbm=isch&tbs=imgo:1)
-   [维基百科中的相关条目: 克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克](https://en.wikipedia.org/)

## 更改日志

[![Release date](https://img.shields.io/github/release-date/avto-dev/vehicle-logotypes.svg?style=flat-square&maxAge=180)](https://github.com/avto-dev/vehicle-logotypes/releases) [![Commits since latest release](https://img.shields.io/github/commits-since/avto-dev/vehicle-logotypes/latest.svg?style=flat-square&maxAge=180)](https://github.com/avto-dev/vehicle-logotypes/commits)

更改日志可以是 [在这里找到的](https://github.com/avto-dev/vehicle-logotypes/blob/master/CHANGELOG.md)。 。 。 .

## 支助

[![Issues](https://img.shields.io/github/issues/avto-dev/vehicle-logotypes.svg?style=flat-square&maxAge=180)](https://github.com/avto-dev/vehicle-logotypes/issues) [![Issues](https://img.shields.io/github/issues-pr/avto-dev/vehicle-logotypes.svg?style=flat-square&maxAge=180)](https://github.com/avto-dev/vehicle-logotypes/pulls)

如果你发现任何包错误,请, [提出一个问题](https://github.com/avto-dev/vehicle-logotypes/issues/new/choose) 在当前仓库中.

## 许可证

所有图像都是各自所有者的财产. 如果你发现任何 版权属于你的图像, 请联系我们, 所以我们可以删除它.

此软件包是开源软件,根据 [MIT 许可证](https://github.com/avto-dev/vehicle-logotypes/blob/master/LICENSE)。 。 。 .

## 常见问题

### @avto-dev/vehicle-logotypes 是什么？

车辆标志类型

### 如何安装 @avto-dev/vehicle-logotypes？

在项目目录运行 npm install @avto-dev/vehicle-logotypes，或使用 pnpm add / yarn add / bun add。

### @avto-dev/vehicle-logotypes 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/avto-dev\_\_vehicle-logotypes 是否存在。

### @avto-dev/vehicle-logotypes 需要什么版本的 Node\.js？

package\.json 的 engines 字段要求 Node\.js \>=6\.0\.0。版本不符时 npm 默认只给出警告，开启 engine-strict 后会拒绝安装。

### @avto-dev/vehicle-logotypes 可以商用吗？

@avto-dev/vehicle-logotypes 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @avto-dev/vehicle-logotypes 的下载量有多少？

根据 npm 官方下载统计，@avto-dev/vehicle-logotypes 在 2026/10/07 – 2026/11/05 这 30 天内被下载 6,081 次，日均约 203 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @avto-dev/vehicle-logotypes 还在维护吗？

最新版本 2\.12\.0 发布于 2026/09/22（1 个月前）；至今共发布 18 个版本，其中过去 12 个月发布了 1 个；首次发布于 2018/09/01。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

