analyze-action
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Analyze Action

After you request action.yml data through axios, it will help you analyze the obtained string and get the action information.

npm

🚀 Usage

const { analyzeActionYml } = require('analyze-action');
// or
import { analyzeActionYml } from 'analyze-action';

analyzeActionYml(data);

🎁 API

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'
  ]
}

LICENSE

MIT

Package Sidebar

Install

npm i analyze-action

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

6.24 kB

Total Files

7

Last publish

Collaborators

  • xrkffgg