This folder demonstrates the following:
- Using deno to develop and build cdxgen
- Using cdxgen as a library to build custom SBOM tool.
Install deno by following the instructions for your OS
deno run --allow-read --allow-env --allow-run --allow-sys=uid,systemMemoryInfo,gid,homedir --allow-write --allow-net main.ts <path to repo>
Use the exe
task.
deno task exe
Take a look at deps.ts and main.ts for a simple example that builds a cli tool on top of the npm package.