use lodash and add option template
1.5.0