{"id":16092375,"url":"https://github.com/bukinoshita/nicht","last_synced_at":"2025-03-18T06:31:00.707Z","repository":{"id":66114857,"uuid":"93893731","full_name":"bukinoshita/nicht","owner":"bukinoshita","description":":performing_arts: Command line interface prompt bool values","archived":false,"fork":false,"pushed_at":"2019-06-04T04:42:21.000Z","size":31,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T07:51:13.886Z","etag":null,"topics":["boolean","cli","command-line","javascript","nodejs","prompt"],"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/bukinoshita.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}},"created_at":"2017-06-09T20:16:01.000Z","updated_at":"2017-11-19T02:55:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"1acc907a-8610-4f36-86fb-f1353b443dcf","html_url":"https://github.com/bukinoshita/nicht","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"c80dd3700f03fc1da9f69bc145ca0b8b8fbce842"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fnicht","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fnicht/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fnicht/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fnicht/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bukinoshita","download_url":"https://codeload.github.com/bukinoshita/nicht/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910275,"owners_count":20367536,"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":["boolean","cli","command-line","javascript","nodejs","prompt"],"created_at":"2024-10-09T16:07:44.213Z","updated_at":"2025-03-18T06:31:00.702Z","avatar_url":"https://github.com/bukinoshita.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nicht [![Build Status](https://travis-ci.org/bukinoshita/nicht.svg?branch=master)](https://travis-ci.org/bukinoshita/nicht)\n\u003e Command line interface prompt bool values\n\n\n## Install\n```bash\n$ npm install nicht\n```\n\n\n## Usage\n```javascript\nimport nicht from 'nicht'\n\nnitch('Are you okay?')\n// =\u003e Are you okay? [y|N]\n```\n\n\n## Demo\n\n\u003cimg src=\"https://cldup.com/h0RkelnjlQ.gif\"/\u003e\n\n\n## API\n\n### nicht(question, { defaultValue, yesChar, noChar })\n\n#### question\n\nType: `string`\u003cbr/\u003e\nRequired\n\n#### defaultValue\n\nType: `bool`\u003cbr/\u003e\ndefault: `false`\n\nIf user doesn't choose [y|N], it will return `false` as default.\n\n#### yesChar\n\nType: `string`\u003cbr/\u003e\ndefault: `y`\n\n#### noChar\n\nType: `string`\u003cbr/\u003e\ndefault: `n`\n\n\n## License\n\nMIT © [Bu Kinoshita](https://bukinoshita.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fnicht","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbukinoshita%2Fnicht","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fnicht/lists"}