mirror of
https://github.com/vitalygashkov/crextractor.git
synced 2026-07-15 17:40:03 +02:00
refactor: migrate to esm
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const { parseArgs } = require('node:util');
|
||||
const { extract } = require('../crextractor');
|
||||
import { parseArgs } from 'node:util';
|
||||
import { extract } from '../crextractor.js';
|
||||
|
||||
const args = parseArgs({
|
||||
options: {
|
||||
|
||||
Reference in New Issue
Block a user