{"id":15743901,"url":"https://github.com/doowb/base-list","last_synced_at":"2025-08-10T12:28:18.595Z","repository":{"id":65990600,"uuid":"47425607","full_name":"doowb/base-list","owner":"doowb","description":null,"archived":false,"fork":false,"pushed_at":"2016-01-14T23:55:50.000Z","size":28,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T02:24:02.178Z","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/doowb.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-12-04T19:51:24.000Z","updated_at":"2021-04-12T22:04:54.000Z","dependencies_parsed_at":"2023-03-09T13:45:55.895Z","dependency_job_id":null,"html_url":"https://github.com/doowb/base-list","commit_stats":{"total_commits":41,"total_committers":2,"mean_commits":20.5,"dds":0.04878048780487809,"last_synced_commit":"e5a4fd45bf60a67f1abbe9d5470a95c7cc0123b5"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/doowb/base-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fbase-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fbase-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fbase-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fbase-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doowb","download_url":"https://codeload.github.com/doowb/base-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fbase-list/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269681693,"owners_count":24458597,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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"}},"keywords":[],"created_at":"2024-10-04T03:21:57.544Z","updated_at":"2025-08-10T12:28:18.544Z","avatar_url":"https://github.com/doowb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base-list [![NPM version](https://img.shields.io/npm/v/base-list.svg)](https://www.npmjs.com/package/base-list) [![Build Status](https://img.shields.io/travis/doowb/base-list.svg)](https://travis-ci.org/doowb/base-list)\n\n\u003e base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.\n\n## Install\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm i base-list --save\n```\n\n## Usage\n\n```js\nvar list = require('base-list');\napp.use(list());\n```\n\n## API\n\n### [.baseListPlugin](index.js#L26)\n\nBuild grouped lists of tasks.\n\n**Params**\n\n* `prop` **{String}**: e.g. `generators`    \n* `options` **{String}**: Additional options to control output styling    \n* `options.appColor` **{String}**: Color to use when displaying the app names.    \n* `options.taskColor` **{String}**: Color to use when displaying task names.    \n* `options.depColor` **{String}**: Color to use when displaying task dependencies.    \n* `options.appMsg` **{String}**: Message to display for the app name. This is a template that may contain `:name` where the app name should be. (defaults to \":name\")    \n* `options.taskMsg` **{String}**: Message to display for the task name. This is a template that may contain `:name` and `:deps` where the task name and the task depdencies should be. (defaults to \":name :deps\")    \n\n\n\n### [displayTasks](index.js#L57)\nDisplay the application hierarchy of apps and tasks in a formatted tree.\n\n\n\n**Example**\n\n\n\n```js\napp.displayTasks()\n```\n\n\n### [chooseTasks](index.js#L78)\nPresent a multiple choice list of apps and tasks to run. Return results from a user making choices.\n\n\n**Params**\n\n* `cb` **{Function}**: Callback function that will return any errors or the results of the user choices.    \n\n**Example**\n\n\n\n```js\napp.chooseTasks(function(err, results) {\n  if (err) return console.error(err);\n  console.log(results);\n});\n```\n\n\n\n## Related projects\n* [base-methods](https://www.npmjs.com/package/base-methods): base-methods is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… [more](https://www.npmjs.com/package/base-methods) | [homepage](https://github.com/jonschlinkert/base-methods)\n* [base-runner](https://www.npmjs.com/package/base-runner): Orchestrate multiple instances of base-methods at once. | [homepage](https://github.com/jonschlinkert/base-runner)\n* [base-tree](https://www.npmjs.com/package/base-tree): Add a tree method to generate a hierarchical tree structure representing nested applications and child… [more](https://www.npmjs.com/package/base-tree) | [homepage](https://github.com/doowb/base-tree)\n* [use](https://www.npmjs.com/package/use): Easily add plugin support to your node.js application. | [homepage](https://github.com/jonschlinkert/use)\n\n## Running tests\nInstall dev dependencies:\n\n```sh\n$ npm i -d \u0026\u0026 npm test\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/base-list/issues/new).\n\n## Author\n**Brian Woodward**\n\n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb)\n\n## License\nCopyright © 2016 [Brian Woodward](https://github.com/doowb)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on January 14, 2016._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fbase-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoowb%2Fbase-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fbase-list/lists"}