Browse Source

chore: updates readme

e22m4u 1 year ago
parent
commit
49fb70bb90
2 changed files with 4 additions and 0 deletions
  1. 2 0
      README-ru.md
  2. 2 0
      README.md

+ 2 - 0
README-ru.md

@@ -30,6 +30,8 @@ const {PathTrie} = require('@e22m4u/js-path-trie');
 
 ## Пример
 
+Класс `PathTrie` имеет следующие методы:
+
 - `add(pathTemplate: string, value: unknown)` - добавить значение к новому маршруту
 - `match(path: string)` - поиск значения по заданному маршруту
 

+ 2 - 0
README.md

@@ -30,6 +30,8 @@ const {PathTrie} = require('@e22m4u/js-path-trie');
 
 ## Example
 
+The `PathTrie` class has the following methods:
+
 - `add(pathTemplate: string, value: unknown)` adds a value to a new route
 - `match(path: string)` returns a value by a given path