Files
klz-cables.com/.pnpm-store/v10/files/59/9d147ec581260730d498483ae6429d2768dc5fde623bc2109cdb94e3524aba6da4e8d52ecc688e836e01d44a5deadc8d75bbe08436c4dc0ac986afc6604772
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

20 lines
264 B
Plaintext

var toSpace = require('to-space-case')
/**
* Export.
*/
module.exports = toSnakeCase
/**
* Convert a `string` to snake case.
*
* @param {String} string
* @return {String}
*/
function toSnakeCase(string) {
return toSpace(string).replace(/\s/g, '_')
}