11# Exhort JavaScript API<br />![ latest-no-snapshot] [ 0 ] ![ latest-snapshot] [ 1 ]
22
3- * Looking for our Java API? Try [ Exhort Java API] ( https://github.com/RHEcosystemAppEng /exhort-java-api ) .
4- * Looking for our Backend implementation? Try [ Exhort] ( https://github.com/RHEcosystemAppEng /exhort ) .
3+ * Looking for our Java API? Try [ Exhort Java API] ( https://github.com/trustification /exhort-java-api ) .
4+ * Looking for our Backend implementation? Try [ Exhort] ( https://github.com/trustification /exhort ) .
55
66The _ Exhort JavaScript API_ module is deployed to _ GitHub Package Registry_ .
77
@@ -30,11 +30,11 @@ See [GH Docs](https://docs.github.com/en/packages/working-with-a-github-packages
3030
3131<h3 >Usage</h3 >
3232<p >
33- Configuring <em >NPM</em > to look in <em >GHPR</em > for the <em >RHEcosystemAppEng </em > namespace is done by adding
34- <code >@RHEcosystemAppEng : registry =https://npm.pkg.github.com </code > to <em >.npmrc</em > in the project root or user home.
33+ Configuring <em >NPM</em > to look in <em >GHPR</em > for the <em >trustification </em > namespace is done by adding
34+ <code >@trustification : registry =https://npm.pkg.github.com </code > to <em >.npmrc</em > in the project root or user home.
3535
3636``` shell
37- echo " @RHEcosystemAppEng :registry=https://npm.pkg.github.com" >> .npmrc
37+ echo " @trustification :registry=https://npm.pkg.github.com" >> .npmrc
3838```
3939</p >
4040
@@ -43,11 +43,11 @@ echo "@RHEcosystemAppEng:registry=https://npm.pkg.github.com" >> .npmrc
4343Use as ESM Module from an ESM module
4444
4545``` shell
46- npm install @RHEcosystemAppEng /exhort-javascript-api
46+ npm install @trustification /exhort-javascript-api
4747```
4848
4949``` javascript
50- import exhort from ' @RHEcosystemAppEng /exhort-javascript-api'
50+ import exhort from ' @trustification /exhort-javascript-api'
5151import fs from ' node:fs'
5252
5353// Get stack analysis in JSON format
@@ -64,14 +64,14 @@ let componentAnalysis = await exhort.componentAnalysis('/path/to/pom.xml')
6464Use as ESM Module from Common-JS module
6565
6666``` shell
67- npm install @RHEcosystemAppEng /exhort-javascript-api
67+ npm install @trustification /exhort-javascript-api
6868```
6969
7070``` javascript
7171async function loadExhort ()
7272{
7373// dynamic import is the only way to import ESM module into commonJS module
74- const { default: exhort } = await import (' @RHEcosystemAppEng /exhort-javascript-api' );
74+ const { default: exhort } = await import (' @trustification /exhort-javascript-api' );
7575 return exhort
7676}
7777const runExhort = (manifestPath ) => {
@@ -97,7 +97,7 @@ Use as CLI Script
9797<summary >Click for help menu</summary >
9898
9999``` shell
100- $ npx @RHEcosystemAppEng /exhort-javascript-api help
100+ $ npx @trustification /exhort-javascript-api help
101101
102102Usage: exhort-javascript-api {component| stack}
103103
@@ -112,24 +112,24 @@ Options:
112112
113113``` shell
114114# get stack analysis in json format
115- $ npx @RHEcosystemAppEng /exhort-javascript-api stack /path/to/pom.xml
115+ $ npx @trustification /exhort-javascript-api stack /path/to/pom.xml
116116
117117# get stack analysis in json format (summary only)
118- $ npx @RHEcosystemAppEng /exhort-javascript-api stack /path/to/pom.xml --summary
118+ $ npx @trustification /exhort-javascript-api stack /path/to/pom.xml --summary
119119
120120# get stack analysis in html format format
121- $ npx @RHEcosystemAppEng /exhort-javascript-api stack /path/to/pom.xml --html
121+ $ npx @trustification /exhort-javascript-api stack /path/to/pom.xml --html
122122
123123# get component analysis
124- $ npx @RHEcosystemAppEng /exhort-javascript-api component /path/to/pom.xml
124+ $ npx @trustification /exhort-javascript-api component /path/to/pom.xml
125125```
126126</li >
127127
128128<li >
129129Use as Global Binary
130130
131131``` shell
132- npm install --global @RHEcosystemAppEng /exhort-javascript-api
132+ npm install --global @trustification /exhort-javascript-api
133133```
134134
135135``` shell
@@ -203,7 +203,7 @@ Excluding a package from any analysis can be achieved by marking the package for
203203
204204<em >Golang</em > users can add in go.mod a comment with //exhortignore next to the package to be ignored, or to "piggyback" on existing comment ( e.g - //indirect) , for example:
205205``` go
206- module github.com /RHEcosystemAppEng /SaaSi/deployer
206+ module github.com /trustification /SaaSi/deployer
207207
208208go 1.19
209209
@@ -292,7 +292,7 @@ for various customization.
292292However, <em >ESM Module</em > users, can opt for customizing programmatically:
293293
294294``` javascript
295- import exhort from ' @RHEcosystemAppEng /exhort-javascript-api'
295+ import exhort from ' @trustification /exhort-javascript-api'
296296import fs from ' node:fs'
297297
298298let options = {
@@ -444,8 +444,8 @@ It's also possible, to use lightweight Python PIP utility [pipdeptree](https://p
444444Need to set environment variable/option - ` EXHORT_PIP_USE_DEP_TREE ` to true.
445445
446446<!-- Badge links -->
447- [ 0 ] : https://img.shields.io/github/v/release/RHEcosystemAppEng /exhort-javascript-api?color=green&label=latest
448- [ 1 ] : https://img.shields.io/github/v/release/RHEcosystemAppEng /exhort-javascript-api?color=yellow&include_prereleases&label=early-access
447+ [ 0 ] : https://img.shields.io/github/v/release/trustification /exhort-javascript-api?color=green&label=latest
448+ [ 1 ] : https://img.shields.io/github/v/release/trustification /exhort-javascript-api?color=yellow&include_prereleases&label=early-access
449449
450450### Known Issues
451451
0 commit comments