Registry / devops / parcel-plugin-nqp

parcel-plugin-nqp

JSON →
library0.43.0jsnpmunverified

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.

npm install parcel-plugin-nqp
INSTALL
IMPORT
SIG · PARCEL-PLUGIN-NQP
P
parcel-plugin-nqp
devopsjavascriptv0.43.0
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.

default
import parcelPluginNqp from 'parcel-plugin-nqp'
const parcelPluginNqp = require('parcel-plugin-nqp')
Plugin is used via Parcel configuration, not imported directly. This import syntax would typically be used if integrating programmatically.
parcel-plugin-nqp
// .parcelrc { "plugins": ["parcel-plugin-nqp"] }
// package.json { "parcel": { "plugins": ["parcel-plugin-nqp"] } }
Parcel v1 uses .parcelrc for plugins; package.json configuration is Parcel v2 syntax.
NqpAsset
import { NqpAsset } from 'parcel-plugin-nqp'
import NqpAsset from 'parcel-plugin-nqp'
Named export for custom asset class, if needed for advanced usage.

Shows installation, configuration, and build steps for using Parcel v1 with the NQP plugin.

// 1. Install dependencies npm install --save-dev parcel-bundler@1 parcel-plugin-nqp@0.43.0 // 2. Create .parcelrc { "plugins": ["parcel-plugin-nqp"] } // 3. Create an NQP file (example.nqp) // NQP code here // 4. Build npx parcel build index.html // Parcel will process .nqp files automatically
Debug
Known issues
deprecatedPackage is deprecated: Parcel v1 is no longer maintained; this plugin is not compatible with Parcel v2.
fix
Migrate to Parcel v2 and use an alternative NQP pipeline or a compatible plugin if available.
affects: >=0
gotchaPlugin does not support Parcel v2. Installing in a Parcel v2 project will cause build errors.
fix
Ensure you are using Parcel v1. Check with 'npm list parcel-bundler'.
affects: >=0
gotchaRequires NQP runtime to be installed separately.
fix
Install NQP via your system package manager or Rakudo Star.
affects: >=0.1
deprecatedNo updates since 2019; unmaintained.
fix
Consider forking or contacting maintainer if issues arise.
affects: >=0
Errors
Common errors & fixes
Error: Cannot find module 'parcel-plugin-nqp'
Plugin not installed or not in node_modules.
fix
Run 'npm install --save-dev parcel-plugin-nqp'
Error: NQP is not defined
NQP runtime not installed on the system.
fix
Install NQP (e.g., 'brew install rakudo-star' on macOS)
Error: Plugin is not compatible with this version of Parcel
Using Parcel v2 with this plugin.
fix
Downgrade to Parcel v1: 'npm install --save-dev parcel-bundler@1'
Upgrade
Version history
0.43.0latest on npm
Audit
Dependencies
parcel-bundlerrequiredRequires Parcel v1; not compatible with Parcel v2
Agent activity
2 hits · last 30 days
node
2
Resources
parcel-plugin-nqp — npm install parcel-plugin-nqp · libregistry