You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`path` should be a folder in the local file system. When the path is not a git repository - tries to read the git repository from `package.json` and tries to detect the versions listed in the repository as well.
34
34
35
35
```
36
-
const result = await require('node-support').detect({ package });
36
+
const result = await require('node-support').detect({ packageName });
37
37
```
38
38
39
-
`package` is a string name for the package in the registry.
39
+
`packageName` is a string name for the package in the registry.
40
40
41
41
```
42
42
const result = await require('node-support').detect({ repository });
0 commit comments