node-binary-search-tree icon indicating copy to clipboard operation
node-binary-search-tree copied to clipboard

Removes dependency on node.js util module

Open deive opened this issue 7 years ago • 1 comments

Removes dependency on node.js util module (by copying the only used inherits method to customUtils).

deive avatar Sep 26 '17 13:09 deive

I'd advise just relying on the NPM module inherits instead. It results in a much smaller browser bundle than including util (as in master), works for non-Node.js environments (e.g. React Native as in #14), and avoids including a custom inheritance method.

JamesMGreene avatar Sep 27 '17 06:09 JamesMGreene