can-sort-object

v1.0.1
Sort object keys recursively
canjs donejs-plugin

can-sort-object

Build Status

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 can-sort-object

Metadata

  • MIT
  • Whatever
  • DoneJS Core Team
  • released 3/28/2018

Downloads

Maintainers