Remove notice, update submodules
This commit is contained in:
parent
4a83dd89d6
commit
94a7c960c7
15
NOTICE
15
NOTICE
@ -1,15 +0,0 @@
|
||||
µWebSockets.js™ - JavaScript web server
|
||||
|
||||
Copyright © 2018 Alex Hultman and contributors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
10
README.md
10
README.md
@ -2,6 +2,14 @@
|
||||
|
||||
There are two modes; compiled as a stand-alone JavaScript runtime or as a Node.js native addon.
|
||||
|
||||
For the most common Node.js systems are available precompiled binaries:
|
||||
|
||||
```
|
||||
npm install uNetworking/uWebSockets.js#semver:0.1.0
|
||||
```
|
||||
|
||||
or any such version.
|
||||
|
||||
```javascript
|
||||
/* The stand-alone runtime has uWS namespace already loaded. */
|
||||
var uWS = uWS ? uWS : require('../dist/uws.js');
|
||||
@ -26,7 +34,7 @@ uWS.App().get('/hello', (res, req) => {
|
||||
Performance retention is up to 70% of native C++ [µWebSockets](https://github.com/uNetworking/uWebSockets) v0.15. That puts it some 20x as fast as Deno and even faster than most C++-only servers, all from within a JavaScript VM.
|
||||
![](https://github.com/uNetworking/uWebSockets/blob/master/misc/bigshot_lineup.png)
|
||||
|
||||
### Kick-start
|
||||
### Build from source
|
||||
Easiest is to compile yourself a Node.js native addon. The following works for Linux and macOS systems:
|
||||
```
|
||||
git clone --recursive https://github.com/uNetworking/uWebSockets.js.git
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit bb5f805ee29e4d0044ee86c9ba044e8e5385550b
|
||||
Subproject commit fb95abad7180a22f8f2a07c627f9bd3daf97c7a5
|
Loading…
Reference in New Issue
Block a user