{"id":8751037,"name":"@nichitaa/auth-react-router","ecosystem":"npm","description":"**`@nichitaa/auth-react-router`** is a lightweight package that uses and extends basic `react-router-dom` v6 functionality and allows you to define the routes based on user `authorized` and `roles` states. It provides a simple API for configuring `public`","homepage":"https://github.com/nichitaa/auth-react-router#readme","licenses":"mit","normalized_licenses":[],"repository_url":"https://github.com/nichitaa/auth-react-router","keywords_array":["react","react-router","react-router-dom","authorization","RBAC"],"namespace":"nichitaa","versions_count":3,"first_release_published_at":"2024-01-13T16:04:45.821Z","latest_release_published_at":"2024-06-16T15:02:03.443Z","latest_release_number":"0.1.2","last_synced_at":"2026-09-22T02:30:19.965Z","created_at":"2024-01-13T16:10:21.690Z","updated_at":"2026-09-22T10:11:06.581Z","registry_url":"https://www.npmjs.com/package/@nichitaa/auth-react-router","install_command":"npm install @nichitaa/auth-react-router","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.1.2"},"contentPolicy":null},"repo_metadata":{"id":40364691,"uuid":"444461935","full_name":"nichitaa/auth-react-router","owner":"nichitaa","description":"A simple yet extensible approach for configuring and handling protected and role based routing for react applications using react-router-dom v6","archived":false,"fork":false,"pushed_at":"2024-06-16T15:02:08.000Z","size":430,"stargazers_count":21,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-09-22T01:14:29.694Z","etag":null,"topics":["auth-route","common-route","context-api","npm-package","react-router-dom-v6","routing"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@nichitaa/auth-react-router","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nichitaa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-04T15:04:46.000Z","updated_at":"2026-07-22T07:20:42.000Z","dependencies_parsed_at":"2024-01-13T17:23:25.884Z","dependency_job_id":"b2ea03af-ee81-492f-9ce2-16d4b11ac46a","html_url":"https://github.com/nichitaa/auth-react-router","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/nichitaa/auth-react-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nichitaa","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37576402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-22T02:00:07.665Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"nichitaa","name":"Pasecinic Nichita","uuid":"57563506","kind":"user","description":"Web developer \u0026 Elixir enthusiast :shipit: ","email":"","website":"https://t.me/RegexCompileError","location":"Chisinau, Moldova","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/57563506?u=19230333e45ec6680f033a20bd30cfb781956b82\u0026v=4","repositories_count":12,"last_synced_at":"2023-03-10T02:21:19.596Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/nichitaa","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-19T19:22:37.952Z","updated_at":"2023-03-10T02:21:19.608Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nichitaa","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nichitaa/repositories"},"tags":[{"name":"v0.1.2","sha":"124c9d44853ab1366dfea8aa7f17de4b4868da00","kind":"tag","published_at":"2024-06-16T15:02:04.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/v0.1.2","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"0eacfaa673f5df82d39217fa69345eef0c05b0d8","kind":"tag","published_at":"2024-01-14T19:29:30.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/v0.1.1","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"060d2ff7f48a3a8b44d586138784e26293dcf6c5","kind":"tag","published_at":"2024-01-13T16:04:46.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/v0.1.0","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.1.0/manifests"},{"name":"0.4.7","sha":"dd36dea9ff35301239031f1ee398121b7d0e6ddd","kind":"commit","published_at":"2022-08-22T09:24:44.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/0.4.7","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/0.4.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@0.4.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.7/manifests"},{"name":"0.4.6","sha":"5057f71b3d57bba07ba5b5c7c196099de5c7b0c1","kind":"commit","published_at":"2022-08-22T08:34:03.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/0.4.6","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/0.4.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@0.4.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.6/manifests"},{"name":"0.4.5","sha":"73231977ab14e4de726b83fe950767a36429a16c","kind":"tag","published_at":"2022-08-06T09:03:10.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/0.4.5","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/0.4.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@0.4.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.5/manifests"},{"name":"0.4.4","sha":"9b01efa64dc7cd1c5366dbff23390d9bfc1b926a","kind":"tag","published_at":"2022-05-14T10:08:27.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/0.4.4","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/0.4.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@0.4.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.4/manifests"},{"name":"0.4.3","sha":"efadf0c59ffb50732ad8bfb068a850a10d356faa","kind":"tag","published_at":"2022-05-14T09:32:02.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/0.4.3","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/0.4.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@0.4.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.3/manifests"},{"name":"0.4.2","sha":"5c17f820a2965cfced71f9ca9e1f87a5202a04b7","kind":"tag","published_at":"2022-05-12T17:50:02.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/0.4.2","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/0.4.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@0.4.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.4.2/manifests"},{"name":"v0.4.1","sha":"a984572c81e4e85c284a6fe2cc34527cfaf5424a","kind":"tag","published_at":"2022-05-12T09:57:34.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/v0.4.1","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/v0.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@v0.4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.4.1/manifests"},{"name":"v0.4.0","sha":"b77b735d83af8fb1990a14e4d51de5d11adbe423","kind":"tag","published_at":"2022-05-08T10:10:34.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/v0.4.0","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/v0.4.0/manifests"},{"name":"0.3.0","sha":"c8d4243980ce89f3ef152c4599cde6a2d8e0937c","kind":"tag","published_at":"2022-05-08T09:59:22.000Z","download_url":"https://codeload.github.com/nichitaa/auth-react-router/tar.gz/0.3.0","html_url":"https://github.com/nichitaa/auth-react-router/releases/tag/0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nichitaa/auth-react-router@0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/tags/0.3.0/manifests"}]},"repo_metadata_updated_at":"2026-09-22T10:11:06.581Z","dependent_packages_count":0,"downloads":27,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":33.81643061596429,"dependent_packages_count":48.19590381815907,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":41.00616721706168},"purl":"pkg:npm/%40nichitaa/auth-react-router","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@nichitaa/auth-react-router","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@nichitaa/auth-react-router","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@nichitaa/auth-react-router/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-22T01:05:19.090Z","issues_count":1,"pull_requests_count":19,"avg_time_to_close_issue":1833252.0,"avg_time_to_close_pull_request":10564.052631578947,"issues_closed_count":1,"pull_requests_closed_count":19,"pull_request_authors_count":3,"issue_authors_count":1,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":0.15789473684210525,"merged_pull_requests_count":18,"bot_issues_count":0,"bot_pull_requests_count":6,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichitaa%2Fauth-react-router/issues","maintainers":[{"login":"nichitaa","count":11,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nichitaa"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@nichitaa%2Fauth-react-router/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@nichitaa%2Fauth-react-router/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@nichitaa%2Fauth-react-router/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@nichitaa%2Fauth-react-router/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@nichitaa%2Fauth-react-router/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@nichitaa%2Fauth-react-router/codemeta","maintainers":[{"uuid":"nichittaa","login":"nichittaa","name":null,"email":"nichittaa@gmail.com","url":null,"packages_count":4,"html_url":"https://www.npmjs.com/~nichittaa","role":null,"created_at":"2024-01-13T16:14:31.900Z","updated_at":"2024-01-13T16:14:31.900Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/nichittaa/packages"}]}