{"id":13453287,"url":"https://github.com/gtanner/qrcode-terminal","last_synced_at":"2025-05-14T01:06:33.020Z","repository":{"id":7168638,"uuid":"8469469","full_name":"gtanner/qrcode-terminal","owner":"gtanner","description":"QRCodes in your terminal, cause thats hot.","archived":false,"fork":false,"pushed_at":"2022-01-28T07:52:41.000Z","size":91,"stargazers_count":1279,"open_issues_count":32,"forks_count":100,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-10-29T14:57:07.174Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gtanner.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":"2013-02-28T01:28:19.000Z","updated_at":"2024-10-29T02:57:55.000Z","dependencies_parsed_at":"2022-08-06T20:01:08.233Z","dependency_job_id":null,"html_url":"https://github.com/gtanner/qrcode-terminal","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtanner%2Fqrcode-terminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtanner%2Fqrcode-terminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtanner%2Fqrcode-terminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtanner%2Fqrcode-terminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gtanner","download_url":"https://codeload.github.com/gtanner/qrcode-terminal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248202111,"owners_count":21064264,"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-31T08:00:37.445Z","updated_at":"2025-04-10T10:48:05.624Z","avatar_url":"https://github.com/gtanner.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Repository","3. 命令行程序"],"sub_categories":["Command-line Utilities","Isomorphic","3.1 开发库"],"readme":"# QRCode Terminal Edition [![Build Status][travis-ci-img]][travis-ci-url]\n\n\u003e Going where no QRCode has gone before.\n\n![Basic Example][basic-example-img]\n\n# Node Library\n\n## Install\n\nCan be installed with:\n\n    $ npm install qrcode-terminal\n\nand used:\n\n    var qrcode = require('qrcode-terminal');\n\n## Usage\n\nTo display some data to the terminal just call:\n\n    qrcode.generate('This will be a QRCode, eh!');\n\nYou can even specify the error level (default is 'L'):\n    \n    qrcode.setErrorLevel('Q');\n    qrcode.generate('This will be a QRCode with error level Q!');\n\nIf you don't want to display to the terminal but just want to string you can provide a callback:\n\n    qrcode.generate('http://github.com', function (qrcode) {\n        console.log(qrcode);\n    });\n\nIf you want to display small output, provide `opts` with `small`:\n\n    qrcode.generate('This will be a small QRCode, eh!', {small: true});\n\n    qrcode.generate('This will be a small QRCode, eh!', {small: true}, function (qrcode) {\n        console.log(qrcode)\n    });\n\n# Command-Line\n\n## Install\n\n    $ npm install -g qrcode-terminal\n\n## Usage\n\n    $ qrcode-terminal --help\n    $ qrcode-terminal 'http://github.com'\n    $ echo 'http://github.com' | qrcode-terminal\n\n# Support\n\n- OS X\n- Linux\n- Windows\n\n# Server-side\n\n[node-qrcode][node-qrcode-url] is a popular server-side QRCode generator that\nrenders to a `canvas` object.\n\n# Developing\n\nTo setup the development envrionment run `npm install`\n\nTo run tests run `npm test`\n\n# Contributers\n\n    Gord Tanner \u003cgtanner@gmail.com\u003e\n    Micheal Brooks \u003cmichael@michaelbrooks.ca\u003e\n\n[travis-ci-img]: https://travis-ci.org/gtanner/qrcode-terminal.png\n[travis-ci-url]: https://travis-ci.org/gtanner/qrcode-terminal\n[basic-example-img]: https://raw.github.com/gtanner/qrcode-terminal/master/example/basic.png\n[node-qrcode-url]: https://github.com/soldair/node-qrcode\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtanner%2Fqrcode-terminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgtanner%2Fqrcode-terminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtanner%2Fqrcode-terminal/lists"}