Files
NapCatQQ/.pnpm-store/v3/files/3a/c5c8ec8142a6f56b21ed233093ce024a881f65f90d83e286565ea5bbebd4390bf0e370c2973126e04bdab365b53237a51d7c99cf6126491e4305b3f926cdd2
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

20 lines
484 B
Plaintext

'use strict';
var mapObj = require('map-obj');
var decamelize = require('decamelize');
module.exports = function (input, separator, options) {
if (typeof separator !== 'string') {
options = separator;
separator = null;
}
options = options || {};
separator = separator || options.separator;
var exclude = options.exclude || [];
return mapObj(input, function (key, val) {
key = exclude.indexOf(key) === -1 ? decamelize(key, separator) : key;
return [key, val];
});
};