UNPKG
icu-bidi
Version:
latest (0.1.6)
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Bindings to the ICU (55) Unicode BiDi algorithm
github.com/cscott/node-icu-bidi
cscott/node-icu-bidi
icu-bidi
/
lib
/
index.js
10 lines
(8 loc)
•
275 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
var
binary =
require
(
'node-pre-gyp'
);
var
path =
require
(
'path'
);
var
binding_path = binary.
find
(path.
resolve
(path.
join
(__dirname,
'..'
,
'package.json'
)));
var
bindings =
require
(binding_path);
Object
.
keys
(bindings).
forEach
(
function
(
k
) {
exports
[k] = bindings[k]; });