Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
21
frontend/node_modules/es-toolkit/dist/string/kebabCase.js
generated
vendored
Normal file
21
frontend/node_modules/es-toolkit/dist/string/kebabCase.js
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
const require_words = require("./words.js");
|
||||
//#region src/string/kebabCase.ts
|
||||
/**
|
||||
* Converts a string to kebab case.
|
||||
*
|
||||
* Kebab case is the naming convention in which each word is written in lowercase and separated by a dash (-) character.
|
||||
*
|
||||
* @param str - The string that is to be changed to kebab case.
|
||||
* @returns The converted string to kebab case.
|
||||
*
|
||||
* @example
|
||||
* const convertedStr1 = kebabCase('camelCase') // returns 'camel-case'
|
||||
* const convertedStr2 = kebabCase('some whitespace') // returns 'some-whitespace'
|
||||
* const convertedStr3 = kebabCase('hyphen-text') // returns 'hyphen-text'
|
||||
* const convertedStr4 = kebabCase('HTTPRequest') // returns 'http-request'
|
||||
*/
|
||||
function kebabCase(str) {
|
||||
return require_words.words(str).map((word) => word.toLowerCase()).join("-");
|
||||
}
|
||||
//#endregion
|
||||
exports.kebabCase = kebabCase;
|
||||
Loading…
Add table
Add a link
Reference in a new issue