UNPKG

308 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.getPackageVersion = getPackageVersion;
4/**
5 * @internal
6 */
7function getPackageVersion(moduleName) {
8 try {
9 return require("".concat(moduleName, "/package.json")).version;
10 }
11 catch (err) { }
12 return;
13}