Skip to content

wow-actions/parse-inputs

Repository files navigation

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.

About

Utility method to parse action's inputs.

Topics

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages