# check-file-dependencies **Repository Path**: mirrors_mapbox/check-file-dependencies ## Basic Information - **Project Name**: check-file-dependencies - **Description**: Takes a file path and confirms the resolved node_modules match the package.json - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Check File Dependencies Takes a file path and checks to see if the modules it requires match the package.json ## Usage ```js var checkFileDependencies = require('@mapbox/check-file-dependencies'); checkFileDependencies(path.join(__dirname, 'path', 'to', 'file.js'), function(err) { if (err) console.log(err.message); if (err) process.exit(1); }) ``` Or as a CLI ``` check-file-dependencies ./path/to/file.js ``` ## Contributing - Open a PR - Include changes in Changelog.md - Merge PR - Locally switch to master - `npm version [major, minor, patch]` - `git push origin master --tags` - `npm publish`