PHP 7.4.33
Preview: index.js Size: 754 B
/var/www/receipt-app-backend-bitkit.dk/httpdocs/node_modules/formidable/src/index.js
import PersistentFile from './PersistentFile.js';
import VolatileFile from './VolatileFile.js';
import Formidable, { DEFAULT_OPTIONS } from './Formidable.js';



// make it available without requiring the `new` keyword
// if you want it access `const formidable.IncomingForm` as v1
const formidable = (...args) => new Formidable(...args);
const {enabledPlugins} = DEFAULT_OPTIONS;

export default formidable;
export {
  PersistentFile as File,
  PersistentFile,
  VolatileFile,
  Formidable,
  // alias
  Formidable as IncomingForm,

  // as named
  formidable,


  // misc
  DEFAULT_OPTIONS as defaultOptions,
  enabledPlugins,  
};

export * from './parsers/index.js';
export * from './plugins/index.js';
export * as errors from './FormidableError.js';

Directory Contents

Dirs: 3 × Files: 5
Name Size Perms Modified Actions
helpers DIR
- drwxr-xr-x 2026-05-06 08:23:45
Edit Download
parsers DIR
- drwxr-xr-x 2026-05-06 08:23:45
Edit Download
plugins DIR
- drwxr-xr-x 2026-05-06 08:23:46
Edit Download
17.60 KB lrw-r--r-- 2026-05-06 08:23:45
Edit Download
1.21 KB lrw-r--r-- 2026-05-06 08:23:45
Edit Download
754 B lrw-r--r-- 2026-05-06 08:23:45
Edit Download
1.94 KB lrw-r--r-- 2026-05-06 08:23:45
Edit Download
1.71 KB lrw-r--r-- 2026-05-06 08:23:45
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).