Browse Source

chore: updates README.md

e22m4u 1 year ago
parent
commit
7d258d4973
2 changed files with 3 additions and 3 deletions
  1. 2 2
      README.md
  2. 1 1
      package.json

+ 2 - 2
README.md

@@ -44,7 +44,7 @@ server.listen(3000, 'localhost');
 
 ### RequestContext
 
-The first parameter of the `Router` handler is the `RequestContext` instance.
+The first parameter of the route handler is the `RequestContext` instance.
 
 - `container: ServiceContainer`
 - `req: IncomingMessage`
@@ -71,7 +71,7 @@ router.defineRoute({
 
 ### Sending response
 
-Return values of the `Route` handler will be sent as described below.
+Return values of the route handler will be sent as described below.
 
 | type    | content-type             |
 |---------|--------------------------|

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "@e22m4u/js-trie-router",
   "version": "0.0.1",
-  "description": "HTTP роутер для Node.js",
+  "description": "Trie-based router for Node.js",
   "type": "module",
   "main": "src/index.js",
   "scripts": {