{"id":13447247,"url":"https://github.com/sindresorhus/generator-nm","last_synced_at":"2025-10-19T19:30:54.263Z","repository":{"id":28678378,"uuid":"32198196","full_name":"sindresorhus/generator-nm","owner":"sindresorhus","description":"Scaffold out a node module","archived":true,"fork":false,"pushed_at":"2024-05-02T14:34:36.000Z","size":287,"stargazers_count":742,"open_issues_count":0,"forks_count":82,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-01-31T00:38:39.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sindresorhus.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},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2015-03-14T05:58:33.000Z","updated_at":"2025-01-07T20:11:04.000Z","dependencies_parsed_at":"2022-08-24T16:31:18.588Z","dependency_job_id":"68c1f10a-08d5-46d1-8206-39e932e0d5ef","html_url":"https://github.com/sindresorhus/generator-nm","commit_stats":{"total_commits":139,"total_committers":22,"mean_commits":6.318181818181818,"dds":0.237410071942446,"last_synced_commit":"3b6cac1e0df1fe7f3a084ccaf8ae981aae09b0bb"},"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgenerator-nm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgenerator-nm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgenerator-nm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgenerator-nm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/generator-nm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237199131,"owners_count":19270939,"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","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":"2024-07-31T05:01:11.980Z","updated_at":"2025-10-19T19:30:53.833Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["JavaScript","Resources","Packages","others","Miscellaneous","资源"],"sub_categories":["Miscellaneous","Other","杂项"],"readme":"\u003e [!IMPORTANT]\n\u003e Deprecated. Just use [this boilerplate](https://github.com/sindresorhus/node-module-boilerplate) instead.\n\n# generator-nm\n\n\u003e Scaffold out a [node module](https://github.com/sindresorhus/node-module-boilerplate)\n\nOptionally with a [CLI](http://en.wikipedia.org/wiki/Command-line_interface).\n\nThis is what I use for [my own modules](https://www.npmjs.com/~sindresorhus).\n\n![](screenshot.png)\n\n## Install\n\n```sh\nnpm install --global yo generator-nm\n```\n\n## Usage\n\nWith [yo](https://github.com/yeoman/yo):\n\n```sh\nyo nm\n```\n\nThere are multiple command-line options available:\n\n```\n$ yo nm --help\n\n  Usage:\n    yo nm [options]\n\n  Options:\n    --help          # Print the generator's options and usage\n    --skip-cache    # Do not remember prompt answers                      Default: false\n    --skip-install  # Do not automatically install dependencies           Default: false\n    --org           # Publish to a GitHub organization account\n    --cli           # Add a CLI\n    --coverage      # Add code coverage with nyc\n    --codecov       # Upload coverage to codecov.io (implies --coverage)\n```\n\nThe `--org` option takes a string value (i.e. `--org=avajs`). All others are boolean flags and can be negated with the `no` prefix (i.e. `--no-codecov`). You will be prompted for any options not passed on the command-line.\n\n## Tip\n\nUse [chalk](https://github.com/sindresorhus/chalk) if you want colors in your CLI.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgenerator-nm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fgenerator-nm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgenerator-nm/lists"}