{"id":26064,"library":"parcel-plugin-jsy","title":"parcel-plugin-jsy","description":"A Parcel 1.x plugin that transpiles JSY syntax to standard JavaScript without requiring Babel. Current stable version 0.2.1. JSY is a superset of JavaScript with simplified syntax (e.g., trailing commas, optional semicolons, and concise arrow functions). This plugin integrates JSY directly into the Parcel bundling pipeline, replacing the traditional Babel toolchain for JSY projects. It is specific to Parcel 1.x (parcel-bundler peer dependency) and is not compatible with Parcel v2. Published under the MIT license, it has limited maintenance frequency.","status":"deprecated","version":"0.2.1","language":"javascript","source_language":"en","source_url":"https://github.com/jsy-lang/parcel-plugin-jsy","tags":["javascript","parcel","parcel-plugin","JSY"],"install":[{"cmd":"npm install parcel-plugin-jsy","lang":"bash","label":"npm"},{"cmd":"yarn add parcel-plugin-jsy","lang":"bash","label":"yarn"},{"cmd":"pnpm add parcel-plugin-jsy","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This is a Parcel 1.x plugin; it is automatically loaded when installed. No explicit import or require is needed.","wrong":"const parcelPluginJsy = require('parcel-plugin-jsy');","symbol":"default (plugin registration)","correct":"// Package works via Parcel plugin resolution automatically"},{"note":"Best practice: install as devDependency since it's a build-time tool.","wrong":"\"dependencies\": { \"parcel-plugin-jsy\": \"^0.2.1\" }","symbol":"package.json","correct":"\"devDependencies\": { \"parcel-plugin-jsy\": \"^0.2.1\" }"},{"note":"The plugin is invoked automatically by Parcel; no separate CLI command.","wrong":"parcel-plugin-jsy build index.html","symbol":"Parcel bundler usage","correct":"parcel build index.html"}],"quickstart":{"code":"// 1. Install dependencies\nnpm install --save-dev parcel-bundler@^1.12.4 parcel-plugin-jsy@^0.2.1\n\n// 2. Create a JSY file (e.g., app.jsy)\n// JSY example:\nconst add = (a, b) -> a + b\nconsole.log add(1, 2)\n\n// 3. Create an HTML file that references app.jsy\n// <!DOCTYPE html>\n// <html><body><script src=\"app.jsy\"></script></body></html>\n\n// 4. Build with Parcel\n// npx parcel build index.html","lang":"javascript","description":"Demonstrates installing the required dependencies, writing a simple JSY file, and building it with Parcel 1.x."},"warnings":[{"fix":"If using Parcel v2, consider alternatives or use JSY with a different bundler.","message":"parcel-plugin-jsy is only compatible with Parcel 1.x (parcel-bundler). It does not work with Parcel v2.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Ensure you have parcel-bundler@^1.12.4 installed: npm install --save-dev parcel-bundler@^1.12.4","message":"The plugin requires peer dependency parcel-bundler@^1.12.4. Installing with a different version will cause errors or unexpected behavior.","severity":"breaking","affected_versions":">=0.0.0"},{"fix":"Only add the package as a dependency; Parcel will discover it automatically.","message":"parcel-plugin-jsy auto-registers as a plugin; do not attempt to import or require it explicitly in your code. Doing so may cause runtime errors.","severity":"gotcha","affected_versions":">=0.0.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-jsy","cause":"Plugin is not installed or not in the correct location.","error":"Cannot find module 'parcel-plugin-jsy'"},{"fix":"Run npm install --save-dev parcel-bundler@^1.12.4","cause":"Missing peer dependency parcel-bundler.","error":"Error: Cannot find module 'parcel-bundler'"},{"fix":"Use parcel-bundler@^1.12.4 instead of parcel.","cause":"Parcel version mismatch (using Parcel v2 instead of v1).","error":"Unhandled rejection Error: ENOENT: no such file or directory..."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}