diff --git a/lib/node_modules/@stdlib/_tools/github/get/README.md b/lib/node_modules/@stdlib/_tools/github/get/README.md index 9741821ba07d..badb478dd49a 100644 --- a/lib/node_modules/@stdlib/_tools/github/get/README.md +++ b/lib/node_modules/@stdlib/_tools/github/get/README.md @@ -110,6 +110,8 @@ function onResponse( error, data, info ) { To [authenticate][github-oauth2] with an endpoint, set the [`token`][github-token] option. + + ```javascript var opts = { 'token': 'tkjorjk34ek3nj4!' @@ -223,6 +225,8 @@ function onResponse( error, data, info ) { Returns a `function` which can be repeatedly invoked to retrieve resources from a [GitHub API][github-api] endpoint. + + ```javascript function onResponse( error, data, info ) { // Check for rate limit info... @@ -289,6 +293,8 @@ The method accepts the same `options` as [`get()`](#get) above. ## Examples + + ```javascript @@ -357,7 +363,7 @@ Options: --page page Resource page. Default: 1. --last_page page Last resource page to resolve. Default: 1. --per_page size Page size. Default: 100. - --qs, --query qs Params portion of a query string. + --qs, --query qs Params portion of a query string. ```