{"library":"scriptjs","type":"library","category":null,"description":"$script.js is a compact, asynchronous JavaScript loader and dependency manager designed for browser environments. Its primary function is to load JavaScript resources on demand without blocking the rendering of other assets like CSS and images, a common issue with traditional `<script>` tags. The library, currently at version 2.5.9, focuses on simplifying dependency management for complex web applications by allowing scripts to be loaded in parallel and executed once their dependencies are met, using a unique `ready` callback mechanism. It differentiates itself through its lightweight footprint and its ability to manage intricate load sequences using named bundles or individual script IDs, making it suitable for older browser environments (IE6+, Opera10+). However, its release cadence appears to be very slow, with the last known stable version 2.5.9 released quite some time ago, indicating a maintenance or effectively abandoned status given the prevalence of modern bundlers.","language":"javascript","status":"maintenance","version":"2.5.9","tags":["javascript","ender","script","dependency","ajax","jsonp","loader"],"install":[{"cmd":"npm install scriptjs","imports":["<!-- In HTML --> <script src=\"script.js\"></script>\n// In JavaScript, after loading\n$script('script.js', callback)","$script.ready('bundleName', function() { /* code */ });","$script.path('/js/modules/');"]},{"cmd":"yarn add scriptjs","imports":[]},{"cmd":"pnpm add scriptjs","imports":[]}],"homepage":"http://www.bcherny.net/script.js","github":"https://github.com/ded/script.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/scriptjs","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/scriptjs/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}