Have ideas to improve npm?Join in the discussion! »

    util-extend

    1.0.3 • Public • Published

    util-extend

    The Node object extending function that Node uses for Node!

    Usage

    var extend = require('util-extend');
    function functionThatTakesOptions(options) {
      var options = extend(defaults, options);
      // now any unset options are set to the defaults.
    }

    Keywords

    none

    Install

    npm i util-extend

    DownloadsWeekly Downloads

    764,273

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • avatar