Added ability to publish Node.js module.
This commit is contained in:
@@ -1,2 +1,21 @@
|
||||
# Node.js Package for NGINX Unit
|
||||
|
||||
[<img src="https://unit.nginx.org/_static/logo.svg" width=150px>](https://unit.nginx.org)
|
||||
Node.js support package for NGINX Unit.
|
||||
For details, see [NGINX Unit documentation](https://unit.nginx.org).
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
npm i unit-http
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
var http = require('unit-http');
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Apache 2.0
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
'targets': [{
|
||||
'target_name': "unit-http",
|
||||
'sources': ["unit.cpp", "addon.cpp"],
|
||||
'libraries': ["unit"]
|
||||
'libraries': ["-lunit"]
|
||||
}]
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"install": "node-gyp configure build"
|
||||
},
|
||||
"author": "Alexander Borisov",
|
||||
"license": "Apache 2.0",
|
||||
"license": "Apache-2.0",
|
||||
"gypfile": true,
|
||||
"dependencies": {
|
||||
"node-addon-api": "1.2.0"
|
||||
|
||||
Reference in New Issue
Block a user