1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1 1 1 1 | 'use strict'; var _ = require('lodash'); _.str = require('underscore.string'); /** * Mix in non-conflicting functions to underscore namespace and generators. * * ### Examples: * * this._.humanize('stuff-dash'); * this._.classify('hello-model'); */ _.mixin(_.str.exports()); // and expose that module.exports._ = _; |