Getting Started

Install

npm install --save action-u

Access

All functions are exposed through UMD, and therefore accessable through any one of the following techniques ...

  • ES6 Import (Native JS)

    import { generateActions }  from 'action-u';
    -OR-
    import * as ActionU from 'action-u';
    -OR-
    import ActionU from 'action-u';
    
    generateActions(...)
    -OR-
    ActionU.generateActions(...)
    
  • CommonJS

    const { generateActions } = require('action-u');
    -OR-
    const ActionU = require('action-u');
    
    generateActions(...)
    -OR-
    ActionU.generateActions(...)
    
  • AMD

    define(['action-u', 'otherModule'], function(ActionU, otherModule) {
      ActionU.generateActions(...)
    });
    
  • <script> tag

    <script src="https://unpkg.com/action-u/dist/action-u.min.js"></script>
    
    <script>
      ActionU.generateActions(...)
    </script>
    

results matching ""

    No results matching ""