biofriction-wp-theme/node_modules/default-resolution/node-version.js

11 lines
227 B
JavaScript
Raw Normal View History

2021-10-26 14:18:09 +02:00
'use strict';
var match = process.version.match(/v(\d+)\.(\d+)\.(\d+)/);
var nodeVersion = {
major: parseInt(match[1], 10),
minor: parseInt(match[2], 10),
patch: parseInt(match[3], 10),
};
module.exports = nodeVersion;