{"id":23653125,"url":"https://github.com/aranajhonny/is-next-server","last_synced_at":"2026-05-07T05:33:28.578Z","repository":{"id":57277399,"uuid":"94351675","full_name":"aranajhonny/is-next-server","owner":"aranajhonny","description":"check if next.js is running on server or client.","archived":false,"fork":false,"pushed_at":"2017-06-14T17:52:42.000Z","size":2,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T17:52:41.370Z","etag":null,"topics":["javascript","nextjs","server"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aranajhonny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-14T16:30:50.000Z","updated_at":"2023-04-11T15:20:44.000Z","dependencies_parsed_at":"2022-09-17T12:40:35.345Z","dependency_job_id":null,"html_url":"https://github.com/aranajhonny/is-next-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aranajhonny%2Fis-next-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aranajhonny%2Fis-next-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aranajhonny%2Fis-next-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aranajhonny%2Fis-next-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aranajhonny","download_url":"https://codeload.github.com/aranajhonny/is-next-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239619603,"owners_count":19669447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","nextjs","server"],"created_at":"2024-12-28T17:51:22.465Z","updated_at":"2025-11-19T01:30:15.936Z","avatar_url":"https://github.com/aranajhonny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Check if next.js is running on server or client.\n\n#### usage:\n\n```javascript\n\nconst isServer = require(\"is-next-server\");\n\nexport default () =\u003e (\n  if (isServer) {\n    // server code.\n  } else {\n    // browser code.\n  }\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faranajhonny%2Fis-next-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faranajhonny%2Fis-next-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faranajhonny%2Fis-next-server/lists"}