Registry / devops / vendor-generator

vendor-generator

JSON →
library0.4.8jsnpmunverified

A JavaScript bundler tool that compiles and bundles JavaScript files into a single file for browser use. Version 0.4.8 is the latest stable release, with an unknown release cadence. It differs from bundlers like Webpack or Rollup by providing a simple CLI-only interface with minimal configuration, targeting users who need a quick way to vendor libraries into a single script without complex setup. It supports CommonJS modules and outputs a bundle compatible with script tags. However, the project appears to be in early stages with limited documentation and no recent updates.

npm install vendor-generator
INSTALL
IMPORT
SIG · VENDOR-GENERATOR
V
vendor-generator
devopsjavascriptv0.4.8
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

vendorGenerator
const vendorGenerator = require('vendor-generator')
import vendorGenerator from 'vendor-generator'
This package is CommonJS only and does not support ESM imports.

Shows how to require and invoke vendorGenerator to bundle src/index.js into dist/bundle.js, with minification disabled.

const vendorGenerator = require('vendor-generator'); const path = require('path'); vendorGenerator({ entry: path.resolve(__dirname, 'src/index.js'), output: path.resolve(__dirname, 'dist/bundle.js'), minify: false }).then(() => { console.log('Bundle created successfully'); }).catch(err => { console.error('Error:', err); });
vendor-generator --version
Debug
Known issues
breakingNode.js version requirement is >=8, which includes unsupported versions (8 and 10) that have reached end-of-life. May break on Node 16+.
fix
Use a newer version of Node.js >=12, but test for compatibility as dependencies may be outdated.
affects: >=0.0.0
deprecatedNo new releases since 2019; package likely unmaintained.
fix
Consider migrating to actively maintained bundlers like Webpack, Rollup, or esbuild.
affects: >=0.0.0
gotchaThe package does not support ES modules (import/export) natively; only CommonJS require is supported.
fix
Ensure all input files use CommonJS syntax, or transpile ES modules to CommonJS before bundling.
affects: >=0.0.0
Errors
Common errors & fixes
TypeError: vendorGenerator is not a function
The package was imported using ES modules (import) instead of CommonJS require.
fix
Use const vendorGenerator = require('vendor-generator');
Cannot find module 'vendor-generator'
The package is not installed in node_modules.
fix
Run npm install vendor-generator --save-dev
Upgrade
Version history
0.4.8latest on npm
Audit
Dependencies
@halo-design/utilsoptionalUtilized for internal utility functions such as file system operations and module resolution.
Agent activity
2 hits · last 30 days
node
2
Resources
vendor-generator — npm install vendor-generator · libregistry