How to install Nested Sort

You can either install Nested Sort via NPM or include it from jsDeliver CDN.

Node.js

To install the library using NPM:

npm install nested-sort --save

Then include it in your code:

import NestedSort from 'nested-sort'

Browser

You can include the UMD version of the library from:

<script src="https://cdn.jsdelivr.net/npm/nested-sort@5/dist/nested-sort.umd.min.js"></script>

Once the JS file is included the global NestedSort class is available.