diff --git a/README.md b/README.md index 2f35af2..5716f86 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,10 @@ Use TypeScript for best in class instellisense. ```typescript import * as smartopen from '@pushrocks/smartopen'; -await smartopen.openUrl('https://lossless.com'); +const run = async () => { + await smartopen.openUrl('https://lossless.com'); +}; +run(); ``` For further information read the linked docs at the top of this readme.