can-sort-object
v1.0.1
Published
Sort object keys recursively
Downloads
3,059
Readme
can-sort-object
Sort object keys recursively
Usage
ES6 use
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'can-sort-object';
CommonJS use
Use require
to load can-sort-object
and everything else
needed to create a template that uses can-sort-object
:
var plugin = require("can-sort-object");
Standalone use
Load the global
version of the plugin:
<script src='./node_modules/can-sort-object/dist/global/can-sort-object.js'></script>