1.0.0 • Published 3 years ago

analyze-action v1.0.0

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

Analyze Action

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

npm npm.io npm.io

🚀 Usage

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

analyzeActionYml(data);

🎁 API

analyzeActionYml

analyzeActionYml(data, countOfficial);

Input

ParamsDescTypeRequiredDefault
dataOobtained stringstring-
countOfficialWhether to count the official actionbooleantrue

Output

{
  name: 'Issues Helper',
  actions: [
    owner: 'actions-cool',
    repo: 'issues-helper',
    version: 'v2.0.0'
  ]
}

LICENSE

MIT

1.0.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago