summary refs log tree commit diff
path: root/docs/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/README.md')
-rw-r--r--docs/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/README.md b/docs/README.md
index 4b82b43..ebfdaa0 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -28,8 +28,9 @@ import Kronikarz from "kronikarz";
 const k = new Kronikarz("path/to/posts");
 ```
 
-At this point only one method is available.
+At this point only two methods are available.
 
 ```js
-k.getPosts();
+k.getPosts(); // returns array of all posts
+k.getPost("2019", "11", "20", "title"); // returns post from path `2019/11/20/title.md`
 ```