{"id":4517388,"name":"init-middleware","ecosystem":"npm","description":"Next.js’s [init-middleware.js](https://github.com/vercel/next.js/blob/86160a5/examples/api-routes-cors/lib/init-middleware.js) published as an npm package.","homepage":"https://github.com/dtinth/init-middleware#readme","licenses":null,"normalized_licenses":[],"repository_url":"https://github.com/dtinth/init-middleware","keywords_array":[],"namespace":null,"versions_count":2,"first_release_published_at":"2022-07-06T07:48:18.012Z","latest_release_published_at":"2026-04-02T10:40:06.555Z","latest_release_number":"1.0.0","last_synced_at":"2026-08-09T11:26:09.614Z","created_at":"2022-07-07T08:27:41.242Z","updated_at":"2026-08-09T12:16:35.036Z","registry_url":"https://www.npmjs.com/package/init-middleware","install_command":"npm install init-middleware","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.0"},"contentPolicy":null},"repo_metadata":{"id":43077639,"uuid":"511039394","full_name":"dtinth/init-middleware","owner":"dtinth","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-02T10:40:08.000Z","size":265,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-07-09T05:32:43.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/dtinth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-06T07:45:36.000Z","updated_at":"2026-04-02T10:39:46.000Z","dependencies_parsed_at":"2025-05-28T04:32:56.674Z","dependency_job_id":"9615daac-9677-4fa9-804c-325a8078d275","html_url":"https://github.com/dtinth/init-middleware","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dtinth/init-middleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Finit-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Finit-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Finit-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Finit-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtinth","download_url":"https://codeload.github.com/dtinth/init-middleware/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Finit-middleware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36453457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-09T02:00:06.528Z","response_time":130,"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":"dtinth","name":"Thai Pangsakulyanont","uuid":"193136","kind":"user","description":"JavaScript musician????? CSS layout destroyer!!!!! WHEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE","email":"","website":"https://dt.in.th/","location":"Krungthepmahanakhonamonrattanakosinmahintharayutthayamahadilokphopnoppharatratchathaniburiromudomratchaniwetmahasathanamonphimanawatansathitsakkathattiyawitsanukamprasit (Bangkok), Thailand","twitter":null,"company":"@bemusic　　　　　　　　　　　　　　　　 @creatorsgarten　　　　　　　　　　　　　　　　 @eventpop　　　　　　　　　　　　　　　　 @showdownspace　　　　　　　　　　　　　　　　 @spacetme　　　　　　　　　　　　　　　　@wonderfulsoftware　　　　　　　　　　　　　　　　 ","icon_url":"https://avatars.githubusercontent.com/u/193136?u=c867e3f38a00cda86ef10bf3f7c6bad38983ac8c\u0026v=4","repositories_count":893,"last_synced_at":"2026-08-07T14:52:30.627Z","metadata":{"has_sponsors_listing":true,"funding":null},"html_url":"https://github.com/dtinth","funding_links":["https://github.com/sponsors/dtinth"],"total_stars":10146,"followers":2155,"following":622,"created_at":"2022-11-03T00:30:27.317Z","updated_at":"2026-08-07T14:52:30.959Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtinth","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtinth/repositories"},"tags":[{"name":"v1.0.0","sha":"61025d1a94997b5ff9822e641ca87691204241f4","kind":"tag","published_at":"2026-04-02T10:40:07.000Z","download_url":"https://codeload.github.com/dtinth/init-middleware/tar.gz/v1.0.0","html_url":"https://github.com/dtinth/init-middleware/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/dtinth/init-middleware@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Finit-middleware/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Finit-middleware/tags/v1.0.0/manifests"},{"name":"v0.0.1","sha":"cf4ed873166f68d4f1ef561619e7377f0211e6d9","kind":"tag","published_at":"2022-07-06T07:47:36.000Z","download_url":"https://codeload.github.com/dtinth/init-middleware/tar.gz/v0.0.1","html_url":"https://github.com/dtinth/init-middleware/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/dtinth/init-middleware@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Finit-middleware/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Finit-middleware/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-08-09T12:16:35.036Z","dependent_packages_count":1,"downloads":37,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":13.176471315105564,"dependent_repos_count":10.319081594997954,"dependent_packages_count":20.947084095572265,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":14.814212335225262},"purl":"pkg:npm/init-middleware","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/init-middleware","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/init-middleware","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/init-middleware/dependencies","status":null,"funding_links":["https://github.com/sponsors/dtinth"],"critical":null,"issue_metadata":{"last_synced_at":"2026-04-02T13:03:32.517Z","issues_count":0,"pull_requests_count":4,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":629327.3333333334,"issues_closed_count":0,"pull_requests_closed_count":3,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":3,"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/dtinth%2Finit-middleware/issues","maintainers":[{"login":"dtinth","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/dtinth"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/init-middleware/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/init-middleware/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/init-middleware/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/init-middleware/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/init-middleware/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/init-middleware/codemeta","maintainers":[{"uuid":"dtinth-bot","login":"dtinth-bot","name":null,"email":"dtinth+bot@spacet.me","url":null,"packages_count":34,"html_url":"https://www.npmjs.com/~dtinth-bot","role":null,"created_at":"2022-11-15T23:37:50.197Z","updated_at":"2022-11-15T23:37:50.197Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/dtinth-bot/packages"}]}