# 使用 npm 安装 similarity

查看 similarity 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:similarity
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g similarity
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:similarity
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/similarity>
- **版本:** 1.2.1
- **来源摘要:** How similar are these two strings?
- **主页:** <https://github.com/words/similarity#readme>
- **仓库:** <https://github.com/words/similarity>
- **上游文档:** <https://github.com/words/similarity#readme>
- **许可证:** ISC
- **源码归档:** <https://registry.npmjs.org/similarity/-/similarity-1.2.1.tgz>
- **问题跟踪器:** <https://github.com/words/similarity/issues>
- **发布时间:** 2020-02-22T13:01:26.484Z
- **最后更新:** 2020-02-22T13:01:26.484Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- similarity (cli)
- similarity (别名)

## 依赖

- levenshtein-edit-distance

## 构建依赖

- nyc
- prettier
- remark-cli
- remark-preset-wooorm
- tape
- xo

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.2.1
- 管理器更新时间: 2020-02-22
- 本地数据: OK
- 上游仓库: https://github.com/words/similarity
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 similarity 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.2.1
- **Version Count:** 8
- **Maintainers:** wooorm, zeke
- **Author:** Zeke Sikelianos
- **Publisher:** wooorm
- **Integrity:** sha512-lMOpWVaWrTnyL+tkvDs8oGV/KAUBQ3wfbZtdiwDcC+KYGlwO8kgtiyag1B6akAjALDMwn5rN5YHHei1hr4X7nw==
- **Shasum:** 58eed40bc90742434abcf1b8e0b9af63241fb3dd
- **Unpacked Size:** 6,783
- **File Count:** 0
- **Created At:** 2011-11-19T19:06:10.386Z
- **Latest Published At:** 2020-02-22T13:01:26.484Z
- **Modified At:** 2022-06-26T19:28:50.430Z

## 其他软件包管理器记录

- Nix - similarity: normalized package name match | nixpkgs package indexes: pkgs/by-name/si/similarity/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [slug](https://www.automicvault.com/zh-hans/pkg/npm/slug/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, string.
- [smartwrap](https://www.automicvault.com/zh-hans/pkg/npm/smartwrap/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, strings.
- [split-text-to-chunks](https://www.automicvault.com/zh-hans/pkg/npm/split-text-to-chunks/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, string.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
