Added Node.js support.

This commit is contained in:
Alexander Borisov
2018-10-03 17:50:03 +03:00
parent 141ee2aa32
commit ea62327b00
13 changed files with 1667 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
/*
* Copyright (C) NGINX, Inc.
*/
#include "unit.h"
napi_value
Init(napi_env env, napi_value exports)
{
return Unit::init(env, exports);
}
NAPI_MODULE(Unit, Init)