{"id":17480391,"url":"https://github.com/litomore/inquirer-chalk-pipe","last_synced_at":"2025-07-08T01:36:47.336Z","repository":{"id":57158455,"uuid":"101253503","full_name":"LitoMore/inquirer-chalk-pipe","owner":"LitoMore","description":"A inquirer plugin for input chalk-pipe style strings","archived":false,"fork":false,"pushed_at":"2021-03-15T08:45:58.000Z","size":2187,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-04T13:25:52.927Z","etag":null,"topics":["chalk","chalk-pipe","inquirer"],"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/LitoMore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"LitoMore","patreon":"LitoMore"}},"created_at":"2017-08-24T04:19:25.000Z","updated_at":"2025-07-03T19:27:12.000Z","dependencies_parsed_at":"2022-09-07T06:21:38.307Z","dependency_job_id":null,"html_url":"https://github.com/LitoMore/inquirer-chalk-pipe","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/LitoMore/inquirer-chalk-pipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitoMore%2Finquirer-chalk-pipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitoMore%2Finquirer-chalk-pipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitoMore%2Finquirer-chalk-pipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitoMore%2Finquirer-chalk-pipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LitoMore","download_url":"https://codeload.github.com/LitoMore/inquirer-chalk-pipe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitoMore%2Finquirer-chalk-pipe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264176198,"owners_count":23568614,"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":["chalk","chalk-pipe","inquirer"],"created_at":"2024-10-18T21:44:08.109Z","updated_at":"2025-07-08T01:36:47.298Z","avatar_url":"https://github.com/LitoMore.png","language":"JavaScript","funding_links":["https://github.com/sponsors/LitoMore","https://patreon.com/LitoMore"],"categories":[],"sub_categories":[],"readme":"# inquirer-chalk-pipe\n\n[![](https://img.shields.io/npm/v/inquirer-chalk-pipe.svg)](https://www.npmjs.com/package/inquirer-chalk-pipe)\n[![](https://img.shields.io/npm/l/inquirer-chalk-pipe.svg)](https://github.com/LitoMore/inquirer-chalk-pipe/blob/master/LICENSE)\n[![](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)\n\nA inquirer plugin for input [chalk-pipe](https://github.com/LitoMore/chalk-pipe) style strings\n\n![](https://raw.githubusercontent.com/LitoMore/inquirer-chalk-pipe/master/screenshot.gif)\n\n## Install\n\n```bash\n$ npm install inquirer-chalk-pipe\n```\n\n## Usage\n\n```javascript\ninquirer.registerPrompt('chalk-pipe', require('inquirer-chalk-pipe'));\n```\n\nIf you are using `inquirer@5.1.0` or later, you don't need to register this plugin, just use the [transformer](https://github.com/SBoudrias/Inquirer.js#question) option in input prompt:\n\n```javascript\nconst inquirer = require('inquirer')\nconst chalkPipe = require('chalk-pipe')\n\ninquirer.prompt([\n  {\n    type: 'input',\n    name: 'fav_color',\n    message: \"What's your favorite color\",\n    transformer: function(color) {\n      return chalkPipe(color)(color);\n    }\n  }\n])\n```\n\n## Example\n\nHere is [example](https://github.com/LitoMore/inquirer-chalk-pipe/blob/master/example.js).\n\n## Related\n\n- [chalk-pipe](https://github.com/LitoMore/chalk-pipe) - Create chalk style schemes with simpler style strings\n- [inquirer](https://github.com/SBoudrias/Inquirer.js) - A collection of common interactive command line user interfaces\n\n## License\n\nMIT © [LitoMore](https://github.com/LitoMore)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitomore%2Finquirer-chalk-pipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitomore%2Finquirer-chalk-pipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitomore%2Finquirer-chalk-pipe/lists"}