eslint-plugin-htm
Version:
An incredible ESLint plugin for HTML based on HTMLHint
8 lines • 394 B
JavaScript
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { cjsRequire, EVAL_FILENAMES } from '@pkgr/core';
const _filename = typeof __filename === 'undefined' || EVAL_FILENAMES.has(__filename)
? fileURLToPath(import.meta.url)
: __filename;
export const { name, version } = cjsRequire(path.resolve(_filename, '../../package.json'));
//# sourceMappingURL=meta.js.map