diff --git a/README.md b/README.md index 20fe757..d220975 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ hugo-bin now supports the [Extended Hugo version](https://github.com/gohugoio/hu ### API ```js -const { execFile } = require('child_process'); -const hugo = require('hugo-bin'); +import { execFile } from 'node:child_process'; +import hugo from 'hugo-bin'; execFile(hugo, ['version'], (error, stdout) => { if (error) {