string.js 319 B

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