README
@codewell/get-action-prefix
Installation
npm install @codewell/get-action-prefix
Basic usage
import getActionPrefix from '@codewell/get-action-prefix';
getActionPrefix('ACTION_TYPE');
// => 'ACTION'
## Installation ``` npm install @codewell/get-action-prefix ```
<script type="module">
import codewellGetActionPrefix from 'https://cdn.skypack.dev/@codewell/get-action-prefix';
</script>
npm install @codewell/get-action-prefix
import getActionPrefix from '@codewell/get-action-prefix';
getActionPrefix('ACTION_TYPE');
// => 'ACTION'