Remove notice, update submodules

This commit is contained in:
Alex Hultman 2018-12-26 09:15:31 +01:00
parent 4a83dd89d6
commit 94a7c960c7
3 changed files with 10 additions and 17 deletions

15
NOTICE
View File

@ -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.

View File

@ -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