Registry / devops / lib-bundler

lib-bundler

JSON →
library0.0.2jsnpmunverified

lib-bundler is a code bundler for ES6 JavaScript libraries. Version 0.0.2 is very early stage with minimal documentation and no active maintenance. It bundles CommonJS and UMD outputs (common, full, min, min.gz, map). Compared to Rollup or esbuild, it lacks modern features, has no updates since initial release, and is essentially abandoned. Use only for understanding early bundler patterns.

npm install lib-bundler
INSTALL
IMPORT
SIG · LIB-BUNDLER
L
lib-bundler
devopsjavascriptv0.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

Bundler
const Bundler = require('lib-bundler');
import Bundler from 'lib-bundler';
Package provides only CommonJS require-based API as of v0.0.2.
Bundler
const { Bundler } = require('lib-bundler');
Named export is also available, but default export is more common.
Bundler
const Bundler = require('lib-bundler').default;
This package does not use .default; the module exports directamente the constructor.

Initialize bundler with configuration and run build, producing multiple output formats in ./dist.

npm install lib-bundler --save-dev var Bundler = require('lib-bundler'); var bundler = new Bundler({ project: "test", moduleName: "test", author: "author", version: "1.0.0", entry: "./src/index.js", output: "./dist" }); bundler.bundled() .then(function() { console.log('Build complete'); }) .catch(function(err) { console.error('Build failed:', err); });
Debug
Known issues
deprecatedPackage is no longer maintained; last update in 2016. Use modern bundlers like Rollup or esbuild.
fix
Migrate to a maintained bundler (e.g., Rollup: npm install rollup --save-dev).
affects: >=0.0.0
gotchaOptions object requires all fields (project, moduleName, author, version, entry, output) — no defaults.
fix
Always provide complete configuration object as shown in the documentation.
affects: >=0.0.0
gotchaThe bundler writes files synchronously? Actual behavior is unknown; no tests or examples show error handling.
fix
Use try-catch or promise-based API if available; consider not using this abandoned package.
affects: >=0.0.0
Errors
Common errors & fixes
Cannot find module 'lib-bundler'
Package may not be installed; or installed globally instead of locally.
fix
Run 'npm install lib-bundler --save-dev' in your project directory.
TypeError: Bundler is not a constructor
Using ES6 import syntax (import Bundler from 'lib-bundler') which is not supported by this CommonJS-only package.
fix
Use 'const Bundler = require("lib-bundler");' instead.
Upgrade
Version history
0.0.2latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
lib-bundler — npm install lib-bundler · libregistry