{"id":28372739,"url":"https://github.com/explosion-scratch/smart404","last_synced_at":"2025-07-22T14:33:34.556Z","repository":{"id":57363931,"uuid":"365821915","full_name":"Explosion-Scratch/smart404","owner":"Explosion-Scratch","description":"Make your error pages smart! Redirect users who made a typo automatically!","archived":false,"fork":false,"pushed_at":"2021-05-17T15:14:34.000Z","size":7,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-03T03:18:08.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npmjs.com/smart404","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Explosion-Scratch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-09T18:30:02.000Z","updated_at":"2024-07-03T03:49:23.000Z","dependencies_parsed_at":"2022-09-17T13:23:24.944Z","dependency_job_id":null,"html_url":"https://github.com/Explosion-Scratch/smart404","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Explosion-Scratch/smart404","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fsmart404","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fsmart404/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fsmart404/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fsmart404/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Explosion-Scratch","download_url":"https://codeload.github.com/Explosion-Scratch/smart404/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Explosion-Scratch%2Fsmart404/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266510643,"owners_count":23940684,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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"}},"keywords":[],"created_at":"2025-05-29T16:30:24.055Z","updated_at":"2025-07-22T14:33:34.530Z","avatar_url":"https://github.com/Explosion-Scratch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smart404\nMake your error pages smart! Redirect users who made a typo automatically!\n\n# Usage:\n```js\nconst smart404 = require(\"smart404\");\napp.use(smart404(app, {\n  distance: .8, //80% or more similar to an actual route.\n  methods: [\"GET\"], //Methods to redirect\n  status: 302, //Status to send\n  ignoreRoutes: [], //Ignore these routes\n}));//Must go BEFORE any other routes\n```\nIt's that simple!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplosion-scratch%2Fsmart404","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexplosion-scratch%2Fsmart404","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplosion-scratch%2Fsmart404/lists"}