Browse Source

updated readme, added package

Vladislav Gritsenko 6 năm trước cách đây
mục cha
commit
6c45c5c6b0
2 tập tin đã thay đổi với 41 bổ sung0 xóa
  1. 12 0
      README
  2. 29 0
      package.json

+ 12 - 0
README

@@ -1,3 +1,15 @@
+# ENet
+
+It is a mirror/fork of original repo, with npm package support.
+
+## Installation
+
+```sh
+$ npm install enet.c --save
+```
+
+## Original README:
+
 Please visit the ENet homepage at http://enet.bespin.org for installation
 and usage instructions.
 

+ 29 - 0
package.json

@@ -0,0 +1,29 @@
+{
+  "name": "enet.c",
+  "version": "1.3.13",
+  "description": "ENet reliable UDP networking library Edit",
+  "main": "include/enet/enet.h",
+  "directories": {
+    "doc": "docs"
+  },
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/zpl-c/enet-c.git"
+  },
+  "keywords": [
+    "udp",
+    "networking",
+    "c",
+    "cpp",
+    "c++"
+  ],
+  "author": "Lee Salzman",
+  "license": "MIT",
+  "bugs": {
+    "url": "https://github.com/zpl-c/enet-c/issues"
+  },
+  "homepage": "https://github.com/zpl-c/enet-c#readme"
+}