Registry / devops / paper-enroll

paper-enroll

JSON →
library0.0.1jsnpmunverified

paper-enroll is a bundler for h5-projects, currently at version 0.0.1. It is an early-stage tool with no stable release cadence. Its key differentiator is focus on H5 project bundling, but lacks documentation and community adoption. Compared to mature bundlers (Webpack, Vite), it is experimental.

npm install paper-enroll
INSTALL
IMPORT
SIG · PAPER-ENROLL
P
paper-enroll
devopsjavascriptv0.0.1
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.

bundle
import { bundle } from 'paper-enroll'
const bundle = require('paper-enroll')
ESM-only; no CJS support at v0.0.1
createProject
import { createProject } from 'paper-enroll'
import createProject from 'paper-enroll'
Named export, not default
type Config
import type { Config } from 'paper-enroll'
TypeScript users must use `import type` to avoid runtime inclusion

Demonstrates basic bundling of an H5 project with entry and output paths.

import { bundle } from 'paper-enroll'; async function main() { const result = await bundle({ entry: './src/index.html', output: './dist', minify: true, }); console.log('Bundled successfully:', result.files); } main().catch(console.error);
Debug
Known issues
breakingAPI surface may change drastically before v1.0.0; no stability guarantees.
fix
Pin to exact version and test upgrades carefully.
affects: >=0.0.1
deprecatedThe `createProject` function is experimental and may be removed in future releases.
fix
Use `bundle` directly and manually scaffold project.
affects: >=0.0.1
Errors
Common errors & fixes
TypeError: paper_enroll_1.bundle is not a function
Misusing default import instead of named import.
fix
Use `import { bundle } from 'paper-enroll'` instead of `import bundle from 'paper-enroll'`.
Cannot find module 'paper-enroll'
Package not installed or not in node_modules.
fix
Run `npm install paper-enroll` or `yarn add paper-enroll`.
Upgrade
Version history
0.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
paper-enroll — npm install paper-enroll · libregistry