UNPKG
bcrypt
Version:
latest (6.0.0)
n-api (1.1.0-napi)
napi (3.0.4-napi)
6.0.0
5.1.1
5.1.0
5.0.1
5.0.0
4.0.1
4.0.0
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.4-napi
3.0.3
3.0.2
3.0.1
3.0.0
2.0.1
2.0.0
1.1.0-napi
1.0.3
1.0.2
1.0.1
1.0.0
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.0
0.5.0
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.3
0.1.2
A bcrypt library for NodeJS.
github.com/kelektiv/node.bcrypt.js
kelektiv/node.bcrypt.js
bcrypt
/
node_modules
/
concat-map
/
example
/
map.js
7 lines
(6 loc)
•
171 B
JavaScript
View Raw
1
2
3
4
5
6
7
var
concatMap =
require
(
'../'
);
var
xs = [
1
,
2
,
3
,
4
,
5
,
6
];
var
ys =
concatMap
(xs,
function
(
x
) {
return
x %
2
? [ x -
0.1
, x, x +
0.1
] : []; });
console
.
dir
(ys);