actions-util
TypeScript icon, indicating that this package has built-in type declarations

1.1.4Β β€’Β PublicΒ β€’Β Published

Actions Util

πŸš€ A util for Actions.

npm

πŸš€ Usage

const { checkPermission } = require('actions-util');
// or
import { checkPermission } from 'actions-util';

checkPermission(require, permission);

🎁 Export

checkPermission

checkPermission(require, permission);

Input

Params Desc Type Required Default
require Required permissions string βœ” -
permission Detector's permission string βœ” -

Output

boolean

dealStringToArr

dealStringToArr(para);

Input

Params Desc Type Required Default
para Action yml input like x1, x2, x3 string βœ” -

Output

['x1', 'x2', 'x3']

LICENSE

MIT

Readme

Keywords

Package Sidebar

Install

npm i actions-util

Weekly Downloads

5

Version

1.1.4

License

MIT

Unpacked Size

28 kB

Total Files

13

Last publish

Collaborators

  • xrkffgg