combine-same-keys:将共享同一密钥的所有属性组合到单个对象中

时间:2021-04-30 03:15:53
【文件属性】:
文件名称:combine-same-keys:将共享同一密钥的所有属性组合到单个对象中
文件大小:48KB
文件格式:ZIP
更新时间:2021-04-30 03:15:53
merge css-in-js extend JavaScript 组合相同的键 将共享同一密钥的所有属性组合到单个对象中 安装 npm i combine-same-keys 用法 import combineSameKeys from 'combine-same-keys' combineSameKeys ( { foo : { color : 'red' } , bar : { fontSize : 16 } } , { foo : { backgroundColor : 'gold' , lineHeight : 0 } } , { baz : { opacity : 1 } } ) /* { foo: { color: 'red', backgroundColor: 'gold', lineHeight: 0 }, bar: { fontSize: 16 }
【文件预览】:
combine-same-keys-master
----rollup.config.js(361B)
----index.test.js(975B)
----.babelrc(246B)
----.lvimrc(107B)
----README.md(957B)
----.editorconfig(188B)
----.gitignore(18B)
----index.js(412B)
----package-lock.json(204KB)
----package.json(907B)

网友评论