hexo/node_modules/@alicloud/pop-core/lib/helper.js

10 lines
301 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
'use strict';
const os = require('os');
const pkg = require('../package.json');
exports.DEFAULT_UA = `AlibabaCloud (${os.platform()}; ${os.arch()}) ` +
`Node.js/${process.version} Core/${pkg.version}`;
exports.DEFAULT_CLIENT = `Node.js(${process.version}), ${pkg.name}: ${pkg.version}`;