{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Exposes Django named URLs to JavaScript, allowing frontend code to generate URL paths using the same route definitions as the backend without hardcoding strings.","skillfed_tags":["django-integration","url-routing"],"use_cases":["Single-page applications that need to construct API or page URLs dynamically without duplicating route definitions.","Django templates with embedded JavaScript that reference named URLs, avoiding hardcoded path strings.","Webpack-bundled frontends that fetch URL mappings at runtime and use them for client-side routing or API calls.","Projects with complex URL hierarchies using namespaces, where maintaining parallel URL lists in frontend code becomes error-prone.","Content Security Policy\u2013compliant applications that cannot use inline JavaScript and need to load URL mappings from a separate endpoint."],"what_it_does":"Django JS Reverse is a Django app that bridges the gap between backend URL routing and frontend JavaScript by making named URLs available as callable functions in the browser. Instead of hardcoding URL paths in JavaScript or maintaining a separate URL mapping, you define routes once in Django's urlpatterns and access them from JavaScript using the same names\u2014the package generates a JavaScript object that mirrors your URL configuration and handles parameter substitution.\n\nThe package supports multiple integration patterns: as a static file generated via management command, as a JSON endpoint for webpack/bundlers, as a view that serves JavaScript directly, or as an inline template tag. It handles URL namespaces, parameter conversion, and can be configured to include or exclude specific namespaces, minify output, and work with application subpaths.","worth_installing":"Yes. The package solves a genuine Django development friction point\u2014keeping frontend and backend URL definitions in sync\u2014with low install overhead, active maintenance, no known vulnerabilities, and permissive licensing. It is most valuable in projects with dynamic or complex URL structures where hardcoding paths in JavaScript creates maintenance burden."},"id":"django-js-reverse","links":{"html":"https://skillfed.io/packages/django-js-reverse","md":"https://skillfed.io/packages/django-js-reverse.md","pypi":"https://pypi.org/project/django-js-reverse/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-22","license_spdx":null,"license_treatment":"permissive","name":"django-js-reverse","python_support":"supports_current","summary":"Javascript url handling for Django that doesn't hurt."},"popularity":{"monthly_downloads":109891,"position":12495,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.0"}
