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