Skip to content

Commit 0b43cff

Browse files
fix(docs): wrong quoting code syntax (#69)
1 parent 2962465 commit 0b43cff

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
## Requirements
2525

26-
- [Node.js](https://nodejs.org/en/) v16 or higher
26+
- [Node.js](https://nodejs.org/en/) v18 or higher
2727

2828
## Getting Started
2929

@@ -44,9 +44,10 @@ const data = await scorecard.result("NodeSecure/scanner");
4444
console.log(data);
4545
```
4646

47-
You can provide either `**GitHub** (`github.com`), **GitHub Enterprise Server (GHES)** (`github.corp.com`) or **GitLab** (`gitlab.com`) platform with the options payload:
47+
You can provide either **GitHub** (`github.com`), **GitHub Enterprise Server (GHES)** (`github.corp.com`) or **GitLab** (`gitlab.com`) platform with the options payload:
4848

49-
const data = await scorecard.result("NodeSecure/scanner", {
49+
```ts
50+
const data = await scorecard.result("gitlab-org/gitlab-ui", {
5051
platform: "gitlab.com", // default to github.com
5152
});
5253
console.log(data);

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"exports": "./dist/index.js",
77
"types": "./dist/index.d.ts",
88
"type": "module",
9+
"engines": {
10+
"node": ">=18"
11+
},
912
"scripts": {
1013
"build": "tsc",
1114
"prepublishOnly": "npm run build",

0 commit comments

Comments
 (0)