d9b27232da8a8672a47d370a08fa4d5041e5943ef86ede26f654f2fb47a53a77.json 977 B

1
  1. {"ast":null,"code":"var camel2hyphen = function (str) {\n return str.replace(/[A-Z]/g, function (match) {\n return '-' + match.toLowerCase();\n }).toLowerCase();\n};\nmodule.exports = camel2hyphen;","map":{"version":3,"names":["camel2hyphen","str","replace","match","toLowerCase","module","exports"],"sources":["/Users/max_liu/max_liu/company/tools_auto_pt/node_modules/string-convert/camel2hyphen.js"],"sourcesContent":["var camel2hyphen = function (str) {\n return str\n .replace(/[A-Z]/g, function (match) {\n return '-' + match.toLowerCase();\n })\n .toLowerCase();\n};\n\nmodule.exports = camel2hyphen;"],"mappings":"AAAA,IAAIA,YAAY,GAAG,SAAAA,CAAUC,GAAG,EAAE;EAChC,OAAOA,GAAG,CACDC,OAAO,CAAC,QAAQ,EAAE,UAAUC,KAAK,EAAE;IAClC,OAAO,GAAG,GAAGA,KAAK,CAACC,WAAW,CAAC,CAAC;EAClC,CAAC,CAAC,CACDA,WAAW,CAAC,CAAC;AACxB,CAAC;AAEDC,MAAM,CAACC,OAAO,GAAGN,YAAY","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}