Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linjunpop/qr_code_ex
QR code encoder in Elixir.
https://github.com/linjunpop/qr_code_ex
elixir qrcode
Last synced: 16 days ago
JSON representation
QR code encoder in Elixir.
- Host: GitHub
- URL: https://github.com/linjunpop/qr_code_ex
- Owner: linjunpop
- Created: 2017-06-08T03:36:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-27T12:54:04.000Z (over 6 years ago)
- Last Synced: 2024-11-11T06:31:53.526Z (3 months ago)
- Topics: elixir, qrcode
- Language: Elixir
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QRCode
QR Code encoder in Rust.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `qr_code` to your list of dependencies in `mix.exs`:```elixir
def deps do
[{:qr_code, "~> 0.1.0"}]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/qr_code](https://hexdocs.pm/qr_code).## Usage
```elixir
iex> QRCode.generate_string("12345")
...> {:ok, "###\\n # \\n## \\n"}
``````elixir
iex> QRCode.generate_svg("12345")
...> {:ok, "..."}
```