tma-code-audit
v0.0.5
Published
## Introduction
Downloads
37
Readme
使用文档
Introduction
针对字节系 APP, 输出各宿主不支持的的组件与 API
官方源NPM包
https://www.npmjs.com/package/tma-code-audit
Usage
命令行调用
全局安装或局部
npm i tma-code-audit -g
tmaaudit ./path/to/src
函数调用
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