@codewell/action-type-utils

## Installation ``` npm install @codewell/action-type-utils ```

Usage no npm install needed!

<script type="module">
  import codewellActionTypeUtils from 'https://cdn.skypack.dev/@codewell/action-type-utils';
</script>

README

@codewell/action-type-utils

Installation

npm install @codewell/action-type-utils

Basic usage

import { getActionTypePrefix } from '@codewell/action-type-utils';

getActionTypePrefix('SET_STATE_PROPERTY');
// => 'SET'
import { getStatePropertyFromActionType } from '@codewell/action-type-utils';

getStatePropertyFromActionType('SOME_STATE_PROPERTY');
// => 'stateProperty'