{"library":"director","type":"library","category":null,"description":"This library, Director Router, provides a routing solution for both client-side (browser) and server-side (Node.js HTTP and CLI) JavaScript applications. It is dependency-free, aiming for minimal differences in usage across environments. Key features include hash-based client-side routing, and traditional path-based routing for Node.js servers and command-line interfaces. The package's current stable version is 1.2.8, released nearly a decade ago. It primarily focuses on hash-based routing for the browser and traditional URL path matching for servers, predating widespread adoption of the HTML5 History API for client-side routing. Its release cadence is effectively stalled, with no updates in many years, making it unsuitable for new projects due to a lack of maintenance and modern feature support.","language":"javascript","status":"abandoned","version":"1.2.8","tags":["javascript","URL","router","http","cli","flatiron","client side","ender"],"last_verified":"Wed May 27","install":[{"cmd":"npm install director","imports":["const Router = require('director');","<script src=\"path/to/director.min.js\"></script>\n<script> var router = Router(routes); </script>"]},{"cmd":"yarn add director","imports":[]},{"cmd":"pnpm add director","imports":[]}],"homepage":null,"github":"https://github.com/flatiron/director","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/director","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/director/compatibility"}}