Licence
MIT
Version
1.0.1
Deps
1
Size
9 kB
Vulns
0
Weekly
0
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>