function tabLibraries(node) {
    // ! TODO Improve feedback

    // Setup the package list https://nodered.org/docs/api/ui/editableList/
    $('#node-input-packageList').editableList({
        addItem: function addItem(element, index, data) {
            addPackageRow(node, element, index, data)
        },
        removeItem: removePackageRow, // function(data){},
        // resizeItem: function() {}, // function(_row,_index) {},
        header: $('<div>').append('<b>Installed Packages (Install again to update)</b>'),
        height: getLibrariesListHeight(),
        addButton: true,
        removable: true,
        scrollOnAdd: true,
        sortable: false,
    })

    // reset and populate the list
    $('#node-input-packageList').editableList('empty')
    $('#node-input-packageList').editableList('addItems', Object.keys(packages))

    // spinner
    $('.red-ui-editableList-addButton').after(' <i class="spinner"></i>')
    $('i.spinner').hide()
}
Run when switching to the Libraries tab
@param {object} node A reference to the panel's `this` object