qrcode-terminal

WebJar for qrcode-terminal

Лицензия

Лицензия

Категории

Категории

MINA Сеть Networking
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

qrcode-terminal
Последняя версия

Последняя версия

0.12.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

qrcode-terminal
WebJar for qrcode-terminal
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/gtanner/qrcode-terminal

Скачать qrcode-terminal

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/qrcode-terminal/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>qrcode-terminal</artifactId>
    <version>0.12.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/qrcode-terminal/
implementation 'org.webjars.npm:qrcode-terminal:0.12.0'
// https://jarcasting.com/artifacts/org.webjars.npm/qrcode-terminal/
implementation ("org.webjars.npm:qrcode-terminal:0.12.0")
'org.webjars.npm:qrcode-terminal:jar:0.12.0'
<dependency org="org.webjars.npm" name="qrcode-terminal" rev="0.12.0">
  <artifact name="qrcode-terminal" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='qrcode-terminal', version='0.12.0')
)
libraryDependencies += "org.webjars.npm" % "qrcode-terminal" % "0.12.0"
[org.webjars.npm/qrcode-terminal "0.12.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

QRCode Terminal Edition Build Status

Going where no QRCode has gone before.

Basic Example

Node Library

Install

Can be installed with:

$ npm install qrcode-terminal

and used:

var qrcode = require('qrcode-terminal');

Usage

To display some data to the terminal just call:

qrcode.generate('This will be a QRCode, eh!');

You can even specify the error level (default is 'L'):

qrcode.setErrorLevel('Q');
qrcode.generate('This will be a QRCode with error level Q!');

If you don't want to display to the terminal but just want to string you can provide a callback:

qrcode.generate('http://github.com', function (qrcode) {
    console.log(qrcode);
});

If you want to display small output, provide opts with small:

qrcode.generate('This will be a small QRCode, eh!', {small: true});

qrcode.generate('This will be a small QRCode, eh!', {small: true}, function (qrcode) {
    console.log(qrcode)
});

Command-Line

Install

$ npm install -g qrcode-terminal

Usage

$ qrcode-terminal --help
$ qrcode-terminal 'http://github.com'
$ echo 'http://github.com' | qrcode-terminal

Support

  • OS X
  • Linux
  • Windows

Server-side

node-qrcode is a popular server-side QRCode generator that renders to a canvas object.

Developing

To setup the development envrionment run npm install

To run tests run npm test

Contributers

Gord Tanner <gtanner@gmail.com>
Micheal Brooks <michael@michaelbrooks.ca>

Версии библиотеки

Версия
0.12.0
0.11.0