{"library":"eslint-import-resolver-node","type":"library","category":null,"description":"eslint-import-resolver-node is a foundational package that provides Node.js-style module resolution for `eslint-plugin-import`. It enables ESLint to accurately locate imported modules, respecting standard Node.js resolution rules, including looking into `node_modules` directories, and honoring `package.json`'s `main` field. The current stable version, `0.3.10`, was last published in February 2021. Despite its infrequent updates, it is highly stable and widely adopted, functioning as a core component of the `eslint-plugin-import` ecosystem. Its primary differentiation lies in its direct emulation of Node's native resolution algorithm, which ensures consistent linting behavior with the runtime environment. The resolver supports customization through options such as `extensions`, `paths` (similar to `NODE_PATH`), and `moduleDirectory` for defining alternate `node_modules` locations or source roots.","language":"javascript","status":"maintenance","version":"0.3.10","tags":["javascript","eslint","eslintplugin","esnext","modules","eslint-plugin-import"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-import-resolver-node","imports":["// .eslintrc.js\nmodule.exports = {\n  settings: {\n    'import/resolver': {\n      node: {\n        extensions: ['.js', '.jsx', '.ts', '.tsx', '.mjs', '.cjs'],\n        paths: ['src', 'app'], // Custom paths for resolving modules\n      },\n    },\n  },\n  // ... other ESLint configuration\n};","{\n  \"settings\": {\n    \"import/resolver\": \"node\"\n  }\n}"]},{"cmd":"yarn add eslint-import-resolver-node","imports":[]},{"cmd":"pnpm add eslint-import-resolver-node","imports":[]}],"homepage":null,"github":"https://github.com/import-js/eslint-plugin-import","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-import-resolver-node","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/eslint-import-resolver-node/compatibility"}}