can-child-nodes

Read child nodes from elements

Usage

ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

import plugin from 'can-child-nodes';

CommonJS use

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");

Standalone use

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.