analyze-action
v1.0.0
Published
After you request action.yml data through axios, it will help you analyze the obtained string and get the action information.
Downloads
3
Maintainers
Readme
Analyze Action
After you request action.yml data through axios, it will help you analyze the obtained string and get the action information.
🚀 Usage
const { analyzeActionYml } = require('analyze-action');
// or
import { analyzeActionYml } from 'analyze-action';
analyzeActionYml(data);
🎁 API
- analyzeActionYml
1.0.0
analyzeActionYml
analyzeActionYml(data, countOfficial);
Input
| Params | Desc | Type | Required | Default | | -- | -- | -- | -- | -- | | data | Oobtained string | string | ✔ | - | | countOfficial | Whether to count the official action | boolean | ✖ | true |
Output
{
name: 'Issues Helper',
actions: [
owner: 'actions-cool',
repo: 'issues-helper',
version: 'v2.0.0'
]
}