Strman是无任何依赖的string操作库,前后端通用。安装:npm install strman --save或者bower install strman用法With ES6/import import {slugify} from 'strman'; let title = "A Javascript string manipulation library."; let result = slugify(title); // result => "a-javascript-string-manipulation-library"With require