{"id":27224,"library":"paper-enroll","title":"paper-enroll","description":"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.","status":"active","version":"0.0.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install paper-enroll","lang":"bash","label":"npm"},{"cmd":"yarn add paper-enroll","lang":"bash","label":"yarn"},{"cmd":"pnpm add paper-enroll","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM-only; no CJS support at v0.0.1","wrong":"const bundle = require('paper-enroll')","symbol":"bundle","correct":"import { bundle } from 'paper-enroll'"},{"note":"Named export, not default","wrong":"import createProject from 'paper-enroll'","symbol":"createProject","correct":"import { createProject } from 'paper-enroll'"},{"note":"TypeScript users must use `import type` to avoid runtime inclusion","symbol":"type Config","correct":"import type { Config } from 'paper-enroll'"}],"quickstart":{"code":"import { bundle } from 'paper-enroll';\n\nasync function main() {\n  const result = await bundle({\n    entry: './src/index.html',\n    output: './dist',\n    minify: true,\n  });\n  console.log('Bundled successfully:', result.files);\n}\n\nmain().catch(console.error);","lang":"typescript","description":"Demonstrates basic bundling of an H5 project with entry and output paths."},"warnings":[{"fix":"Pin to exact version and test upgrades carefully.","message":"API surface may change drastically before v1.0.0; no stability guarantees.","severity":"breaking","affected_versions":">=0.0.1"},{"fix":"Use `bundle` directly and manually scaffold project.","message":"The `createProject` function is experimental and may be removed in future releases.","severity":"deprecated","affected_versions":">=0.0.1"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Use `import { bundle } from 'paper-enroll'` instead of `import bundle from 'paper-enroll'`.","cause":"Misusing default import instead of named import.","error":"TypeError: paper_enroll_1.bundle is not a function"},{"fix":"Run `npm install paper-enroll` or `yarn add paper-enroll`.","cause":"Package not installed or not in node_modules.","error":"Cannot find module 'paper-enroll'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}