mirror of
https://github.com/deepseek-ai/awesome-deepseek-integration.git
synced 2025-07-13 01:41:57 -04:00
7 lines
162 B
JavaScript
7 lines
162 B
JavaScript
const underscore = function (str) {
|
|
return str.replace(/([A-Z])/g, function (_, match) {
|
|
return "_" + match.toLowerCase();
|
|
});
|
|
};
|
|
|
|
export { underscore };
|