mirror of https://github.com/jkjoy/sunpeiwen.git
14 lines
251 B
JavaScript
14 lines
251 B
JavaScript
|
var pkg = require('../../package.json');
|
||
|
|
||
|
/**
|
||
|
* A custom user agent use for binary downloads.
|
||
|
*
|
||
|
* @api private
|
||
|
*/
|
||
|
module.exports = function() {
|
||
|
return [
|
||
|
'node/', process.version, ' ',
|
||
|
'node-sass-installer/', pkg.version
|
||
|
].join('');
|
||
|
};
|