# apipost-inside-tools

> apipost-inside-tools

Latest version **0.1.105** (published 2026-05-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install apipost-inside-tools
pnpm add apipost-inside-tools
yarn add apipost-inside-tools
bun add apipost-inside-tools
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 0.1.105 |
| Published | 2026-05-18 |
| First published | 2022-06-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 131.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | lee-meng, proud_lion, xbw19975, wjzhangq, apipost-lab001, chengyang12138 |
| Keywords | tools, utils, apipost-inside-tools |

## Links

- npm: https://www.npmjs.com/package/apipost-inside-tools
- npm.io page: https://npm.io/package/apipost-inside-tools

## Dependencies (10)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [dayjs](https://npm.io/package/dayjs.md) ^1.11.3
- [json5](https://npm.io/package/json5.md) ^2.2.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [core-js](https://npm.io/package/core-js.md) ^3.9.0
- [csvtojson](https://npm.io/package/csvtojson.md) ^2.0.10
- [url-parse](https://npm.io/package/url-parse.md) ^1.5.10
- [@types/uuid](https://npm.io/package/@types/uuid.md) ^8.3.4
- [apipost-tools](https://npm.io/package/apipost-tools.md) ^0.0.37
- [strip-json-comments](https://npm.io/package/strip-json-comments.md) ^5.0.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.105 (latest) — 2026-05-18
- 0.1.104 — 2025-08-01
- 0.1.103 — 2025-08-01
- 0.1.102 — 2025-08-01
- 0.1.101 — 2025-08-01
- 0.1.98 — 2025-05-16
- 0.1.97 — 2025-03-05
- 0.1.96 — 2025-03-03
- 0.1.94 — 2025-02-12
- 0.1.93 — 2025-02-12
- 0.1.92 — 2025-01-18
- 0.1.91 — 2024-12-12
- 0.1.90 — 2024-11-22
- 0.1.89 — 2024-08-22
- 0.1.88 — 2024-08-21
- … 72 more at https://npm.io/package/apipost-inside-tools/versions

## README

<p align="center">
  <a href="https://adesign.apipost.cn/" target="_blank">
    <img alt="A-Design Logo" width="360" src="https://img.cdn.apipost.cn/cdn/opensource/apipost-opensource.svg" />
  </a>
</p>

apipost-inside-tools 是一个一致性、模块化、高性能的 apipost 内部使用的 实用工具库。

# 安装

```shell
npm i apipost-inside-tools
```

# 基础使用

需引入：

```js
import APTools from 'apipost-inside-tools';

APTools.export2str(apipostData);
APTools.import2array(apipostData);

目前支持: export2str; //导出参数 支持key-value/json/json-desc
import2array; //导入参数 支持json/key-value
exportdesc2str; //导出参数描述库 支持key-value/json
importdesc2array; //导入参数描述库 支持json/key-value
objectArr2uniqueArr; // 对象数组完全重复去重
har2apipost; // har 对象转apipost接口数据
isElectron; //当前运行环境是否为electron下
setCookie; // 设置cookie
getCookie; // 获取cookie
ConvertResult; // 返回统一格式结果
getCachePath; // 基于node 获取缓存目录
isXml; //是否为xml格式数据
str2testDataAsync; // 将ApiPost流程测试中文件数据转为ApiPost可辨识的JSON格式
importSwaggerHandle; // 自动导入swaager 公共处理方法
har2apipostV8; // 对象转apipost接口数据 V8
curlPostman2apipost; // curl postman collection 转 apipost
```

# 开源协议

apipost-inside-tools 遵循 [MIT 协议](https://github.com/Apipost-Team/apipost-inside-tools)。

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