@codecot/pw-checker
Version:
A comprehensive CLI tool to audit passwords locally using HIBP and import from Chrome/Bitwarden
13 lines (9 loc) • 331 B
JavaScript
import { dirname, join } from "path";
import { fileURLToPath } from "url";
// Get the directory of this script
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
// Import and run the main CLI
const { main } = await import(join(__dirname, "../dist/index.js"));
main();