mirror of https://github.com/jkjoy/sunpeiwen.git
10 lines
301 B
JavaScript
10 lines
301 B
JavaScript
'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}`;
|