{"library":"eslint-plugin-no-typeof-window-undefined","type":"library","category":null,"description":"ESLint rule (version 0.0.2) that flags typeof window === 'undefined' patterns used for SSR checks. Encourages using a helper like `import { isBrowser } from 'some-ssr-helper'` for cleaner and more maintainable code. No updates since initial release. Minimal, single-rule plugin with peer dependency on ESLint ^4-^8.","language":"javascript","status":"active","version":"0.0.2","tags":["javascript","eslint","eslintplugin","eslint-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-no-typeof-window-undefined","imports":["module.exports = {\n  plugins: ['no-typeof-window-undefined'],\n  rules: { 'no-typeof-window-undefined/no-typeof-window-undefined': 'error' }\n};","const plugin = require('eslint-plugin-no-typeof-window-undefined');\n// then use plugin.rules['no-typeof-window-undefined']","import noTypeofWindowUndefined from 'eslint-plugin-no-typeof-window-undefined';\nexport default [\n  { plugins: { 'no-typeof-window-undefined': noTypeofWindowUndefined },\n    rules: { 'no-typeof-window-undefined/no-typeof-window-undefined': 'error' } }\n];"]},{"cmd":"yarn add eslint-plugin-no-typeof-window-undefined","imports":[]},{"cmd":"pnpm add eslint-plugin-no-typeof-window-undefined","imports":[]}],"homepage":null,"github":"https://github.com/nirtamir2/eslint-plugin-no-typeof-window-undefined","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-no-typeof-window-undefined","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-no-typeof-window-undefined/compatibility"}}