UNPKG

@khulnasoft/pwned

Version:

A command-line tool for querying the 'Have I been pwned?' service.

6 lines 285 B
import fs from 'node:fs'; import path from 'node:path'; import url from 'node:url'; const dirname = path.dirname(url.fileURLToPath(import.meta.url)); export const pkg = JSON.parse(fs.readFileSync(path.join(dirname, '..', '..', 'package.json'), 'utf8')); //# sourceMappingURL=pkg.js.map