UNPKG
iconv-lite
Version:
bleeding (0.4.0-pre3)
latest (0.7.1)
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.24
0.4.23
0.4.22
0.4.21
0.4.20
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.4.0-pre3
0.4.0-pre2
0.4.0-pre
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.1
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Convert character encodings in pure javascript.
github.com/pillarjs/iconv-lite
pillarjs/iconv-lite
iconv-lite
/
lib
/
helpers
/
merge-exports.js
14 lines
(10 loc)
•
310 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict"
var
hasOwn =
typeof
Object
.
hasOwn
===
"undefined"
?
Function
.
call
.
bind
(
Object
.
prototype
.
hasOwnProperty
) :
Object
.
hasOwn
function
mergeModules
(
target,
module
) {
for
(
var
key
in
module
) {
if
(
hasOwn
(
module
, key)) { target[key] =
module
[key] } } }
module
.
exports
= mergeModules