From 79fbc0caa59dfdc08f520a48a6e66a3555ef487d Mon Sep 17 00:00:00 2001 From: Fengda HUANG Date: Wed, 26 Aug 2015 08:31:28 +0800 Subject: [PATCH] Update README.md --- README.md | 14 ++++---------- package.json | 6 +++--- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 7f34584..bc37c3f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Code Climate](https://codeclimate.com/github/phodal/lan/badges/gpa.svg)](https://codeclimate.com/github/phodal/lan) [![Test Coverage](https://codeclimate.com/github/phodal/lan/badges/coverage.svg)](https://codeclimate.com/github/phodal/lan/coverage) -> A CoAP,MQTT,HTTP,WebSocket Server of Internet of Things. +> Internet of Things Server Layer with CoAP, WebSocket, MQTT, HTTP Protocol. Node Version: ``0.12.7`` @@ -137,14 +137,11 @@ Then. 3.Run npm start - ##Test With Tool ###HTTP - - Get curl --user root:root -X GET -H "Content-Type: application/json" http://localhost:8899/topics/root @@ -174,13 +171,10 @@ PUT/POST - libcoap coap-client -m get coap://127.0.0.1:5683/topic/root:root - -Inspired by -[https://github.com/mcollina/qest](https://github.com/mcollina/qest) - ##License -© 2015 [Phodal Huang][phodal]. This code is distributed under the MIT -license. +Inspired by [https://github.com/mcollina/qest](https://github.com/mcollina/qest) + +© 2015 [Phodal Huang][phodal]. This code is distributed under the MIT license. [phodal]:http://www.phodal.com/ diff --git a/package.json b/package.json index 157ba37..ebc34a5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lan", - "version": "0.0.1", - "description": "A Internet of Things Framework", + "version": "0.1.0", + "description": "Internet of Things Server Layer with CoAP, WebSocket, MQTT, HTTP Protocol.", "homepage": "https://github.com/phodal/lan", "repository": { "type": "git", @@ -11,7 +11,7 @@ "files": [ "dist" ], - "main": "index.js", + "main": "server.js", "keywords": [ "iot", "lan"