{"library":"es-class","type":"library","category":null,"description":"es-class is a JavaScript utility designed to provide a class-like structure with features reminiscent of ES6/ES7, such as `extends`, `constructor`, `super`, `with` for mixins, `static` properties, and `implements` for light interface checking. Its primary differentiator was its robust backward compatibility, targeting environments as old as ES3 (Internet Explorer 6, Android 2) while offering a forward-looking syntax during the transition to native ES6 classes. The package's current stable version is 2.1.1. However, development appears to be abandoned, with no new releases or maintenance activities for several years, making it a legacy solution for modern JavaScript development. It aimed to bridge the gap between pre-ES6 JavaScript and the then-upcoming native `class` syntax.","language":"javascript","status":"abandoned","version":"2.1.1","tags":["javascript","ES3","ES5","ES6","ES2015","ES7","KISS","Class","inheritance"],"last_verified":"Wed May 27","install":[{"cmd":"npm install es-class","imports":["const Class = require('es-class');","// After <script src=\"//cdnjs.cloudflare.com/ajax/libs/es-class/2.1.1/es-class.js\"></script>\n// Class is available globally.","import Class from 'es-class';"]},{"cmd":"yarn add es-class","imports":[]},{"cmd":"pnpm add es-class","imports":[]}],"homepage":null,"github":"https://github.com/WebReflection/es-class","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/es-class","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/es-class/compatibility"}}