{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"django-npm integrates npm package management into Django projects, allowing you to declare frontend dependencies in package.json and serve them as Django staticfiles without vendoring them directly.","skillfed_tags":["django-integration","npm-bridge","staticfiles"],"use_cases":["Manage React, Vue, or other npm packages as Django static dependencies without checking node_modules into version control.","Selectively expose only the built or minified files from npm packages to your Django static directory using glob patterns.","Automate npm install as part of your Django deployment or development setup via the npm_install() function.","Organize frontend libraries under a custom static path (e.g., /static/js/lib/) while keeping package.json as the single source of truth."],"what_it_does":"django-npm is a Django staticfiles finder that bridges npm and Django's static file system. Instead of vendoring frontend packages into your repository, you declare them in package.json at your project root, and django-npm wraps the npm CLI to install them into node_modules, then exposes selected files to Django's staticfiles system. When you run collectstatic, those npm-managed files are copied into your STATIC_ROOT alongside other static assets.\n\nThe package provides configuration options to control which npm files are exposed (via glob patterns), where they land in your static directory, and whether to cache the file list. It also offers a programmatic entry point to run npm install from Python code. No runtime dependencies are required beyond npm itself on your system.","worth_installing":"Yes, if you need to integrate npm packages into Django's staticfiles system and prefer declarative dependency management over vendoring. The low install friction and permissive license make it a practical choice. However, the aging maintenance status (478 days since last release, Alpha classification) means you should verify compatibility with your specific Django and npm versions before committing to production use."},"id":"django-npm","links":{"html":"https://skillfed.io/packages/django-npm","md":"https://skillfed.io/packages/django-npm.md","pypi":"https://pypi.org/project/django-npm/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-04-23","license_spdx":null,"license_treatment":"permissive","name":"django-npm","python_support":"unspecified","summary":"A django staticfiles finder that uses npm"},"popularity":{"monthly_downloads":88584,"position":13715,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.1"}
