diff --git a/README.md b/README.md index c89a803..b2f097e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,10 @@ ```js import { getStackTrace, + serializeStackTrace, } from 'get-stack-trace'; const stackTrace = getStackTrace(); + +serializeStackTrace('Error', 'Hello, World!', stackTrace); ```