2.0.2 • Published 1 year ago

@ericjuden/wow-actions-parse-inputs v2.0.2

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

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.