can-sort-object
v1.0.0 canjs donejs-plugin
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>
npm i [email protected]
Metadata
- MIT
- Whatever
- DoneJS Core Team
- released 3/28/2018