With StealJS, you can import this module directly in a template that is autorendered:
import plugin from '<%= name %>';
Use require
to load <%= name %>
and everything else
needed to create a template that uses <%= name %>
:
var plugin = require("<%= name %>");
Load the global
version of the plugin:
<script src='./node_modules/<%= name %>/dist/global/<%= name %>.js'></script>
This plugin is one of many. Check out all of the DoneJS plugins on NPM.