{"id":26067,"library":"parcel-plugin-nqp","title":"Parcel NQP Plugin","description":"A Parcel bundler plugin for compiling NQP (Not Quite Perl) files during builds. Current version 0.43.0 is stable with no recent updates. It integrates NQP source files into the Parcel asset pipeline, allowing NQP to be used alongside JavaScript. Differentiates from other NQP tools by providing zero-config bundling via Parcel. Release cadence is low; last update was several years ago. Works with Parcel v1 only.","status":"deprecated","version":"0.43.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install parcel-plugin-nqp","lang":"bash","label":"npm"},{"cmd":"yarn add parcel-plugin-nqp","lang":"bash","label":"yarn"},{"cmd":"pnpm add parcel-plugin-nqp","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Requires Parcel v1; not compatible with Parcel v2","package":"parcel-bundler","optional":false}],"imports":[{"note":"Plugin is used via Parcel configuration, not imported directly. This import syntax would typically be used if integrating programmatically.","wrong":"const parcelPluginNqp = require('parcel-plugin-nqp')","symbol":"default","correct":"import parcelPluginNqp from 'parcel-plugin-nqp'"},{"note":"Parcel v1 uses .parcelrc for plugins; package.json configuration is Parcel v2 syntax.","wrong":"// package.json\n{\n  \"parcel\": {\n    \"plugins\": [\"parcel-plugin-nqp\"]\n  }\n}","symbol":"parcel-plugin-nqp","correct":"// .parcelrc\n{\n  \"plugins\": [\"parcel-plugin-nqp\"]\n}"},{"note":"Named export for custom asset class, if needed for advanced usage.","wrong":"import NqpAsset from 'parcel-plugin-nqp'","symbol":"NqpAsset","correct":"import { NqpAsset } from 'parcel-plugin-nqp'"}],"quickstart":{"code":"// 1. Install dependencies\nnpm install --save-dev parcel-bundler@1 parcel-plugin-nqp@0.43.0\n\n// 2. Create .parcelrc\n{\n  \"plugins\": [\"parcel-plugin-nqp\"]\n}\n\n// 3. Create an NQP file (example.nqp)\n// NQP code here\n\n// 4. Build\nnpx parcel build index.html\n\n// Parcel will process .nqp files automatically","lang":"javascript","description":"Shows installation, configuration, and build steps for using Parcel v1 with the NQP plugin."},"warnings":[{"fix":"Migrate to Parcel v2 and use an alternative NQP pipeline or a compatible plugin if available.","message":"Package is deprecated: Parcel v1 is no longer maintained; this plugin is not compatible with Parcel v2.","severity":"deprecated","affected_versions":">=0"},{"fix":"Ensure you are using Parcel v1. Check with 'npm list parcel-bundler'.","message":"Plugin does not support Parcel v2. Installing in a Parcel v2 project will cause build errors.","severity":"gotcha","affected_versions":">=0"},{"fix":"Install NQP via your system package manager or Rakudo Star.","message":"Requires NQP runtime to be installed separately.","severity":"gotcha","affected_versions":">=0.1"},{"fix":"Consider forking or contacting maintainer if issues arise.","message":"No updates since 2019; unmaintained.","severity":"deprecated","affected_versions":">=0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install --save-dev parcel-plugin-nqp'","cause":"Plugin not installed or not in node_modules.","error":"Error: Cannot find module 'parcel-plugin-nqp'"},{"fix":"Install NQP (e.g., 'brew install rakudo-star' on macOS)","cause":"NQP runtime not installed on the system.","error":"Error: NQP is not defined"},{"fix":"Downgrade to Parcel v1: 'npm install --save-dev parcel-bundler@1'","cause":"Using Parcel v2 with this plugin.","error":"Error: Plugin is not compatible with this version of Parcel"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}