@azure/core-amqp
Version:
Common library for amqp based azure sdks like @azure/event-hubs.
18 lines • 501 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import * as os from "node:os";
/**
* Returns information about the platform this function is being run on.
* @internal
*/
export function getPlatformInfo() {
return `(${os.arch()}-${os.type()}-${os.release()})`;
}
/**
* Returns information about Node.js this function is being run on.
* @internal
*/
export function getFrameworkInfo() {
return `Node/${process.version}`;
}
//# sourceMappingURL=runtimeInfo.js.map