Skip to content
cdx-proto / 1.0.1

cdx-proto 1.0.1

Install from the command line:
Learn more about npm packages
$ npm install @appthreat/cdx-proto@1.0.1
Install via package.json:
"@appthreat/cdx-proto": "1.0.1"

About this version

cdx-proto

Runtime library to serialize/deserialize CycloneDX BOM with protocol buffers. The project was generated using protoc-gen-es from the official proto specification.

Sample usage

import { Bom } from "@appthreat/cdx-proto";

bomObject
  .fromJsonString(bomJson, {
    ignoreUnknownFields: true,
  })
  .toBinary({ writeUnknownFields: true });

const bomObject = new Bom().fromBinary(readFileSync(binFile), {
  readUnknownFields: true,
});

License

Apache-2.0

Details


Assets

  • cdx-proto-1.0.1.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all