p-webpack
JSON →p-webpack is a thin wrapper that adds Promise support to Webpack's compile API (versions 1-4). Version 1.0.1 is the current stable release. It accepts the same configuration options as Webpack and returns a Promise that resolves with the compilation stats. It is a minimal, no-dependency library that simply promisifies the callback-based compiler.run(). Unlike alternatives like webpack-promise or manual wrapping, p-webpack focuses only on the run method and maintains full compatibility with Webpack's options object. It is suitable for Node.js 4+ and requires Webpack as a peer dependency.
Traffic · last 30 days ↓25% vs prev 7d
total hits 23
actors 7 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · BD · 🇬🇧 United Kingdom
API endpoints
full doc /v1/registry/p-webpack
install /v1/registry/p-webpack/install
compatibility /v1/registry/p-webpack/compatibility