# tma-code-audit

> ## Introduction

Latest version **0.0.5** (published 2020-02-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install tma-code-audit
pnpm add tma-code-audit
yarn add tma-code-audit
bun add tma-code-audit
```

Provides the command `tmaaudit`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2020-02-17 |
| First published | 2020-01-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | satsuki.ear |

## Links

- npm: https://www.npmjs.com/package/tma-code-audit
- npm.io page: https://npm.io/package/tma-code-audit

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^3.0.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [@babel/parser](https://npm.io/package/@babel/parser.md) ^7.4.2

## Recent versions

- 0.0.5 (latest) — 2020-02-17
- 0.0.4 — 2020-02-12
- 0.0.3 — 2020-02-12
- 0.0.2 — 2020-02-12
- 0.0.1 — 2020-01-20

## README

# 使用文档

## Introduction

针对字节系 APP, 输出各宿主不支持的的组件与 API

## 官方源NPM包

https://www.npmjs.com/package/tma-code-audit

## Usage

### 命令行调用

全局安装或局部

```javascript
npm i tma-code-audit -g
tmaaudit ./path/to/src
```

### 函数调用

```javascript
const audit = require('tma-code-audit');
const result = audit('/path/to/code'); // return a promise

result.then(console.log);
/*
{
  requestPayment: [ 1128, 35 ], // 1128是抖音，35是lite
  '$ad': [ 1128, 35 ]
}
*/
```

Notes: 

- 13是今日头条

- 1128是抖音

- 35是lite

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