hexo/node_modules/node-sass/scripts/util/useragent.js

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('');
};