{"id":15415618,"url":"https://github.com/chrisrzhou/init-js","last_synced_at":"2026-04-15T22:36:00.797Z","repository":{"id":88728868,"uuid":"351030203","full_name":"chrisrzhou/init-js","owner":"chrisrzhou","description":"A simple config-driven CLI to initialize JS projects.","archived":false,"fork":false,"pushed_at":"2021-05-01T06:23:54.000Z","size":68,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-22T12:41:56.001Z","etag":null,"topics":["esm","init","js","node"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/chrisrzhou.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-24T10:04:48.000Z","updated_at":"2023-03-04T04:18:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3901862-5f49-4646-b622-f766e5168f08","html_url":"https://github.com/chrisrzhou/init-js","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"c4eb1af7df1d394cc74a257145db22b818ca8015"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chrisrzhou/init-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrzhou%2Finit-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrzhou%2Finit-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrzhou%2Finit-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrzhou%2Finit-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisrzhou","download_url":"https://codeload.github.com/chrisrzhou/init-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrzhou%2Finit-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31863495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["esm","init","js","node"],"created_at":"2024-10-01T17:09:02.842Z","updated_at":"2026-04-15T22:36:00.750Z","avatar_url":"https://github.com/chrisrzhou.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# init-js\n\nA simple config-driven CLI to initialize JS projects.\n\n[![Build][build-badge]][build]\n\n---\n\n## Install\n\nYou may install globally with NPM from the [Github][] repo but it is *recommended* to [use](#use) directly with `npx` as detailed in the next section.\n\n```sh\nnpm install -g github:chrisrzhou/init-js\n```\n\n## Use\n\n`init-js` is an [ESM][] module requiring Node 12+.\n\nUse with `npx`:\n\n```sh\nnpx github:chrisrzhou/init-js --github my-github-username --name my-package-name\n```\n\nThe `--github` and `--name` are required arguments that will be used to initialize various files.\n\nCreates the following files:\n- `.github/workflow/main.yml`\n- `.editorconfig`\n- `.gitignore`\n- `license` (MIT)\n- `package.json`\n- `readme.md`\n- `tsconfig.json`\n\n### Config\n\nYou can use a custom config file with the `--config` argument.\n\nThe base config is personalized for use by the [author][].\n\n```sh\nnpx init-js --name=my-package-name --github=my-github-username --config=path/to/my-config.json\n```\n\n```ts\ninterface Config {\n  author: {\n    firstName: string;\n    lastName: string;\n    email: string;\n    url: string;\n    github: string;\n  };\n  package: NodePackageInterface; // https://nodejs.dev/learn/the-package-json-guide\n};\n```\n\n\u003c!-- badges --\u003e\n[build-badge]: https://github.com/chrisrzhou/init-js/workflows/main/badge.svg\n[build]: https://github.com/chrisrzhou/init-js/actions\n\n\u003c!-- defs --\u003e\n[author]: https://github.com/chrisrzhou\n[esm]: https://nodejs.org/api/esm.html\n[github]: https://github.com/chrisrzhou/init-js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisrzhou%2Finit-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisrzhou%2Finit-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisrzhou%2Finit-js/lists"}