{"id":16471886,"url":"https://github.com/abranhe/init-pkg-json-cli","last_synced_at":"2026-04-29T19:32:17.415Z","repository":{"id":96043463,"uuid":"145189841","full_name":"abranhe/init-pkg-json-cli","owner":"abranhe","description":"CLI generator of .editorconfig 🐭","archived":false,"fork":false,"pushed_at":"2018-08-18T04:29:20.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-09T08:40:49.954Z","etag":null,"topics":["cli","init","init-pkg-json","initers","packge-json","pkg-json"],"latest_commit_sha":null,"homepage":"https://npm.im/init-pkg-json-cli","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/abranhe.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}},"created_at":"2018-08-18T04:28:15.000Z","updated_at":"2018-10-26T04:41:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6eee3cc-c9ae-48c9-bfeb-4a021b01950b","html_url":"https://github.com/abranhe/init-pkg-json-cli","commit_stats":null,"previous_names":["abranhe/init-pkg-json-cli","abrahamhba/init-pkg-json-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abranhe/init-pkg-json-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Finit-pkg-json-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Finit-pkg-json-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Finit-pkg-json-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Finit-pkg-json-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abranhe","download_url":"https://codeload.github.com/abranhe/init-pkg-json-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Finit-pkg-json-cli/sbom","scorecard":{"id":161598,"data":{"date":"2025-08-11","repo":{"name":"github.com/abranhe/init-pkg-json-cli","commit":"2b2bcae75ac6904e45d02f34eb776247975f5724"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T13:37:26.009Z","repository_id":96043463,"created_at":"2025-08-16T13:37:26.009Z","updated_at":"2025-08-16T13:37:26.009Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32440948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cli","init","init-pkg-json","initers","packge-json","pkg-json"],"created_at":"2024-10-11T12:15:09.471Z","updated_at":"2026-04-29T19:32:17.396Z","avatar_url":"https://github.com/abranhe.png","language":"JavaScript","funding_links":["https://www.patreon.com/abranhe","https://paypal.me/abranhe/10"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" id=\"top\"\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/init-editorconfig-cli\"\u003e\u003cimg src=\"https://cdn.abraham.gq/projects/init-editorconfig/logo.png\"\u003e\u003c/a\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/init-editorconfig-cli\"\u003e\u003cb\u003einit-editorconfig-cli\u003c/b\u003e\u003c/a\u003e\n\t: Cli generator of \u003ci\u003e.editorconfig\u003c/i\u003e 🐭\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003c!-- Travis CI --\u003e\n\t\u003ca href=\"https://travis-ci.org/abranhe/init-editorconfig-cli\"\u003e\u003cimg src=\"https://img.shields.io/travis/abranhe/init-editorconfig-cli.svg?logo=travis\" /\u003e\u003c/a\u003e\n\t\u003c!-- LICENSE --\u003e\n\t\u003ca href=\"https://github.com/abranhe/init-editorconfig-cli/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/abranhe/init-editorconfig-cli.svg\" /\u003e\u003c/a\u003e\n\t\u003c!-- NPM Version --\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/init-editorconfig-cli\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/init-editorconfig-cli.svg\" /\u003e\u003c/a\u003e\n\t\u003c!-- @abranhe --\u003e\n\t\u003ca href=\"https://github.com/abranhe\"\u003e\u003cimg src=\"https://abranhe.com/badge.svg\"\u003e\u003c/a\u003e\n\t\u003c!-- Cash me --\u003e\n\t\u003ca href=\"https://cash.me/$abranhe\"\u003e\u003cimg src=\"https://cdn.abraham.gq/badges/cash-me.svg\"\u003e\u003c/a\u003e\n\t\u003c!-- Patreon --\u003e\n\t\u003ca href=\"https://www.patreon.com/abranhe\"\u003e\u003cimg src=\"https://cdn.abraham.gq/badges/patreon.svg\" /\u003e\u003c/a\u003e\n\t\u003c!-- Paypal --\u003e\n\t\u003ca href=\"https://paypal.me/abranhe/10\"\u003e\u003cimg src=\"https://cdn.abraham.gq/badges/paypal.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Install\n\n```\nnpm install init-gitignore-cli\n```\n\n# Cli\n\n```console\nUsage\n\t$ init-pkg-json \u003coption\u003e\n\nOptions\n\t--docs               Read online documentation\n\t-h, --help           Show this help message and close\n\t-v, --version        Show packge version\n\t-f, --feedback       Send a feedback\n\t\t\t--indentation    Set package.json indentaion\n\t-n, --name           Add name to packge.json: required *\n\t\t\t--pkg-version    Add version to packge.json: required *\n\t-d, --description    Add description to packge.json\n\t-k, --keywords       Add keywords to packge.json\n\t-l, --license        Add license to packge.json\n\t-r, --repository     Add repository url link to the packge.json\n\t-h, --home           Add homepage link to packge.json\n\t-b, --bugs           Add bugs link to packge.json\n\t-a, --author         Add author to packge.json\n\t\t\t--files          Add files to packge.json\n\t-m, --main           Add primary entry point file\n\t\t\t--bin            Executable files included with your project that will be installed\n\t-s, --scripts        For now, pass an object as script (pass an object)\n\t\t\t--dependencies   Add dependencies (pass an object)\n\t\t\t--dev-dep        Add dev dependencies (pass an object)\n\t-e, --engines        The engines specify versions of clients that must be used with your package\n\nExample\n\t$ init-pkg-json -n \"pkg-name\" --pkg-version \"1.0.0\" -d \"My amazing pkg\"\n```\n\n# Example\n\n\u003e This is a big example 😅 : I'll be creating an interactive CLI for this module soon!\n\n```\n$ init-pkg-json -n \"pkg-n\" --pkg-version 1.0.3 -d \"great-pkg\" -k \"pkg amazing\" -l \"MIT\" -b https://github.com/u/r/issues -h https://yourpkg.org -r \"https://gitub.com/u/p.git git\" -a \"Name email@d.com https://y.com\" --files \"filename.js dir/ glob/*.{js,json} test.js\" --bin \"command: bin/f.js, command1: index.js\" -s \"build-project: node build-project.js, test: test.js\" --dependencies \"pkg1: ^3.1.4\" -e \"node: \u003e=4.4.7, yarn: ^0.14.0\"\n```\n\n## Result in `package.json`\n\n```json\n{\n  \"name\": \"pkg-n\",\n  \"version\": \"1.0.3\",\n  \"description\": \"great-pkg\",\n  \"keywords\": [\n    \"pkg\",\n    \"amazing\"\n  ],\n  \"license\": \"MIT\",\n  \"homepage\": \"https://yourpkg.org\",\n  \"bugs\": \"https://github.com/u/r/issues\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://gitub.com/u/p.git\"\n  },\n  \"author\": {\n    \"name\": \"name\",\n    \"email\": \"email@d.com\",\n    \"url\": \"https://y.com\"\n  },\n  \"files\": [\n    \"filename.js\",\n    \"dir/\",\n    \"glob/*.{js,json}\",\n    \"test.js\"\n  ],\n  \"bin\": {\n    \"command\": \"bin/f.js\",\n    \"command1\": \"index.js\"\n  },\n  \"scripts\": {\n    \"build-project\": \"nodebuild-project.js\",\n    \"test\": \"test.js\"\n  },\n  \"dependencies\": {\n    \"pkg1\": \"^3.1.4\"\n  },\n  \"engines\": {\n    \"node\": \"\u003e=4.4.7\",\n    \"yarn\": \"^0.14.0\"\n  }\n}\n```\n\n# Related\n\n- [init-editorconfig](https://github.com/abranhe/init-editorconfig):  API for this module 🐭\n-  [init-gitignore](https://github.com/abranhe/init-gitignore): Because making git ignore files should be easier.\n-  [init-pkg-json](https://github.com/abranhe/init-pkg-json): 📦 Complex generator of Package.json.\n\n# Team\n\n|[![Carlos Abraham Logo](https://avatars3.githubusercontent.com/u/21347264?s=50\u0026v=4)](https://19cah.com)|\n| :-: |\n| [Carlos Abraham](https://github.com/abranhe) |\n\n# License\n\n[MIT](https://github.com/abranhe/init-editorconfig-cli/blob/master/LICENSE) License © [Carlos Abraham](https://github.com/abranhe/)\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"#top\"\u003e\u003cimg src=\"https://cdn.abraham.gq/projects/init-editorconfig/logo.png\" width=\"50\"\u003e top ↑\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Finit-pkg-json-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabranhe%2Finit-pkg-json-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Finit-pkg-json-cli/lists"}