UNPKG
svg-engine
Version:
alpha (0.1.0-alpha.2)
latest (0.3.0)
0.3.0
0.2.4
0.2.3
0.2.2
0.2.0
0.1.0
0.1.0-alpha.2
0.1.0-alpha.1
0.1.0-alpha.0
Create SVG files in Node.js
github.com/schoero/svg-engine
schoero/svg-engine
svg-engine
/
lib
/
browser
/
esm
/
shared
/
utils
/
functions.js
8 lines
•
217 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
export
function
convertNamedNodeMapToObject
(
atts
) {
const
obj = {};
for
(
const
key
of
Object
.
keys
(atts)) { obj[atts[key].
name
] = atts[key]; }
return
obj; }
//# sourceMappingURL=functions.js.map