2.0.1 • Published 1 year ago

@wow-actions/parse-inputs v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

parse-inputs

Utility method to parse action's inputs

Installation

$ npm install @wow-actions/parse-inputs --save

Usage

import parseInputs from '@wow-actions/parse-inputs';

const inputs = parseInputs({
  foo: { type: 'boolean' },
  bar: { type: 'stringArray', required: true}
}); // => { foo: true, bar: ['Hello, Action', 'GitHub Action is cool']}

License

The scripts and documentation in this project are released under the MIT License.