From 7121c7b4fe0a889d7ec724efdd9b406f8878749c Mon Sep 17 00:00:00 2001 From: saikiran <2400030639@kluniversity.in> Date: Mon, 3 Nov 2025 08:22:05 +0530 Subject: [PATCH] docs: improve README with installation, quickstart and contributing (fixes #691) --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index d4a5f743..187874da 100644 --- a/README.md +++ b/README.md @@ -765,6 +765,31 @@ paginationExample('me/friends'); ``` +### Quickstart / Usage +```markdown +## Quickstart + +Load hello.js in the browser or with bundlers. + +**Browser (CDN example)** + +```html + + + + ## Scope The scope property defines which privileges an app requires from a network provider. The scope can be defined globally for a session through `hello.init(object, {scope: 'string'})`, or at the point of triggering the auth flow e.g. `hello('network').login({scope: 'string'});` An app can specify multiple scopes, separated by commas - as in the example below.