-'use strict';
-
-const Events = require('events');
+import Events from 'events';
/*
* Node Collections contain nodes, in order to keep the lists of nodes
* instances of that class.
*/
-const NodeCollection = class NodeCollection extends Events {
+export class NodeCollection extends Events {
constructor(config) {
return found;
}
-};
+}
/*
yield* this.nodes;
};
-
-module.exports = NodeCollection;