1.0.1 • Published 1 month ago

@appthreat/cdx-proto v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month ago

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

1.0.1

1 month ago

1.0.0

1 month ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago