UNPKG

markuplint

Version:

An HTML linter for all markup developers

9 lines (8 loc) 325 B
import { createRequire } from 'node:module'; const require = createRequire(import.meta.url); // TODO: Use import attribute in Node.js v22 and v20.10 or later const pkg = require('../package.json'); /** * The current version string of the markuplint package, read from `package.json`. */ export const version = pkg.version;