{"library":"eslint-plugin-ssr-friendly","type":"library","category":null,"description":"ESLint plugin that detects incorrect use of DOM globals (e.g., window, document, navigator) in module scope, constructors, React component render methods, and function components, ensuring code is safe for server-side rendering (SSR) and Node.js environments. Stable version 1.3.0 as of August 2023. It focuses on preventing runtime errors during SSR by catching patterns that assume a browser environment. Unlike general linting rules, it provides specific rules for React class components, function components, and class constructors. Released under MIT license with monthly releases.","language":"javascript","status":"active","version":"1.3.0","tags":["javascript","eslint","eslintplugin","ssr","server-side-rendering","globals","react","nodejs"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-ssr-friendly","imports":["import eslintPluginSsrFriendly from 'eslint-plugin-ssr-friendly';","import { rules } from 'eslint-plugin-ssr-friendly';","import { configs } from 'eslint-plugin-ssr-friendly';"]},{"cmd":"yarn add eslint-plugin-ssr-friendly","imports":[]},{"cmd":"pnpm add eslint-plugin-ssr-friendly","imports":[]}],"homepage":null,"github":"https://github.com/kopiro/eslint-plugin-ssr-friendly","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-ssr-friendly","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-plugin-ssr-friendly/compatibility"}}