{"library":"spel2js","type":"library","category":null,"description":"spel2js is a JavaScript library designed to parse and evaluate Spring Expression Language (SpEL) expressions within a defined context. Its primary purpose is to allow single-page applications to mirror server-side authorization logic, reducing duplication and inconsistencies in UI-related permissions. The library provides a JavaScript implementation of the SpEL parser, aiming to mimic the behavior documented for Spring Framework. It exports a singleton object containing `StandardContext` for creating evaluation contexts (which manage `authentication` and `principal` objects) and `SpelExpressionEvaluator` for compiling and executing SpEL expressions. The latest published version is 0.2.9, but significant development activity appears to have ceased around 2016 (judging by the release notes and `bower` references), indicating it is not actively maintained. It targets Node.js environments `>=8` but its age suggests potential compatibility challenges with modern JavaScript ecosystems and build tools.","language":"javascript","status":"abandoned","version":"0.2.9","tags":["javascript","parse","parser","spring","authorization","spel","spring expression language","expression","spring expression"],"install":[{"cmd":"npm install spel2js","imports":["import spel2js from 'spel2js';","import { StandardContext, SpelExpressionEvaluator } from 'spel2js';","const spel2js = require('spel2js');"]},{"cmd":"yarn add spel2js","imports":[]},{"cmd":"pnpm add spel2js","imports":[]}],"homepage":null,"github":"https://github.com/benmarch/spel2js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/spel2js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/spel2js/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}