diff --git a/readme.md b/readme.md index 71e7a19..af5bf0d 100644 --- a/readme.md +++ b/readme.md @@ -34,7 +34,19 @@ npm install --save @jaid/readable-ms@^2.0.2 +## Example +```javascript +import readableMs from "readable-ms" + +const result = readableMs(3021) +``` + +Variable `result` will now be: + +```javascript +"3s 21ms" +```