%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/node_modules/underscore.string/
Upload File :
Create Path :
Current File : /home/opti/workflow/node_modules/underscore.string/underscored.js

var trim = require('./trim');

module.exports = function underscored(str) {
  return trim(str).replace(/([a-z\d])([A-Z]+)/g, '$1_$2').replace(/[-\s]+/g, '_').toLowerCase();
};

Zerion Mini Shell 1.0