Affected URL(s)
https://nodejs.org/api/crypto.html#crypto
Description of the problem
in the esm example of the first paragraph there is this import:
const { createHmac } = await import('node:crypto');
It seems weird, shouldn't be import { createHmac } from 'node:crypto': ?
If so I can open a PR to fix it
Affected URL(s)
https://nodejs.org/api/crypto.html#crypto
Description of the problem
in the
esmexample of the first paragraph there is this import:const { createHmac } = await import('node:crypto');It seems weird, shouldn't be
import { createHmac } from 'node:crypto':?If so I can open a PR to fix it