{"id":24916,"library":"arabjs","title":"ArabJs Transpiler","description":"ArabJs is a JavaScript transpiler that converts Arabic-script code into standard JavaScript, enabling programming in Arabic. Current version is 0.0.6 (released 2020), with low release cadence. Key differentiator: allows writing JavaScript-like code using Arabic keywords (e.g., 'داله' for function, 'اطبع' for print). It is a proof-of-concept tool with limited practical use, no TypeScript support, and no active development.","status":"abandoned","version":"0.0.6","language":"javascript","source_language":"en","source_url":"https://github.com/arabJs/arabJs","tags":["javascript"],"install":[{"cmd":"npm install arabjs","lang":"bash","label":"npm"},{"cmd":"yarn add arabjs","lang":"bash","label":"yarn"},{"cmd":"pnpm add arabjs","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is ESM-only; CommonJS require will not work.","wrong":"const arabJs = require('arabjs')","symbol":"default (run)","correct":"import arabJs from 'arabjs'"},{"note":"The default export is an object with a run method, not a function.","wrong":"arabJs(code)","symbol":"run function","correct":"arabJs.run(code)"},{"note":"Version property available on default export.","wrong":"","symbol":"version access","correct":"import arabJs from 'arabjs'; console.log(arabJs.version)"}],"quickstart":{"code":"import arabJs from 'arabjs';\n\nconst code = `\n داله جمع(س,ص) {\n   الجواب س + ص\n }\n لنفرض النتيجة = جمع(2,3)\n اطبع.نص(النتيجة)\n`;\n\narabJs.run(code);\n// Output: 5","lang":"javascript","description":"Shows how to use ArabJs to run a simple Arabic script that defines a function and prints the result."},"warnings":[{"fix":"Use import syntax instead of require.","message":"Package uses ESM only; CommonJS require will fail.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Consider using alternatives or avoid for production.","message":"Package appears abandoned; no updates since 2020.","severity":"deprecated","affected_versions":">=0.0.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Add 'type': 'module' to package.json or use .mjs extension.","cause":"Running ESM code in a CommonJS environment.","error":"SyntaxError: Cannot use import statement outside a module"},{"fix":"Use arabJs.run(code) instead of arabJs(code).","cause":"Using arabJs as a function directly instead of calling arabJs.run().","error":"TypeError: arabJs is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}