@ericjuden/wow-actions-parse-inputs
v2.0.2
Published
Utility method to parse action's inputs
Downloads
2
Readme
parse-inputs
Utility method to parse action's inputs
Installation
$ npm install @ericjuden/wow-actions-parse-inputs --save
Usage
import parseInputs from '@ericjuden/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.