{"id":13430778,"url":"https://github.com/johno/generator-p","last_synced_at":"2025-04-22T23:42:48.882Z","repository":{"id":25453682,"uuid":"28883794","full_name":"johno/generator-p","owner":"johno","description":"A minimal yeoman generator for npm packages.","archived":false,"fork":false,"pushed_at":"2016-06-26T23:00:29.000Z","size":41,"stargazers_count":19,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T17:05:10.270Z","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/johno.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":"2015-01-06T21:12:21.000Z","updated_at":"2023-01-27T13:12:57.000Z","dependencies_parsed_at":"2022-08-06T04:15:41.661Z","dependency_job_id":null,"html_url":"https://github.com/johno/generator-p","commit_stats":null,"previous_names":["johnotander/generator-p"],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgenerator-p","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgenerator-p/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgenerator-p/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgenerator-p/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/generator-p/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343752,"owners_count":21415035,"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-31T02:00:57.655Z","updated_at":"2025-04-22T23:42:48.855Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# generator-p [![Build Status](https://secure.travis-ci.org/johnotander/generator-p.png?branch=master)](https://travis-ci.org/johnotander/generator-p) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nA minimal yeoman generator for npm packages. This is intended to cut out the majority of boilerplate required in creating a npm modules.\n\n## Installation\n\n```bash\nnpm install -g generator-p\n```\n\n## Usage\n\n```bash\n$ mkdir package-name \u0026\u0026 cd $_\n$ yo p\n```\n\nYou will then be prompted for some information that will be used to generate an npm package. This generator prompts you for:\n\n  * Name\n  * Github username\n  * Twitter username\n  * Package name\n  * Package description\n\nUsing the information to create thorough `package.json`, `index.js`, `license.md`, `test.js`,\nand `readme.md` files with the following structure:\n\n```\nawesome-package/\n  - test.js\n  - .editorconfig\n  - .gitignore\n  - index.js\n  - license\n  - package.json\n  - readme.md\n```\n\nThis generator uses [ava](https://github.com/sindresorhus/ava) for tests and [standard](https://github.com/feross/standard) style.\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with \u003c3 by [John Otander](http://johnotander.com) ([@4lpine](https://twitter.com/4lpine)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fgenerator-p","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fgenerator-p","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fgenerator-p/lists"}