diff --git a/docs/api.md b/docs/api.md index bc24a97e4..2e3b99eb2 100644 --- a/docs/api.md +++ b/docs/api.md @@ -42,6 +42,10 @@ Using volume option: ```js import { Volume } from 'memfs'; +// You will need a bundler for memfs in browser... +// Or use as a prebundled fork: +import memfs from '@bundled-es-modules/memfs'; +const { Volume } = memfs; const vol = new Volume();