Skip to content

Commit

Permalink
fix node readme
Browse files Browse the repository at this point in the history
  • Loading branch information
naomijub committed Sep 13, 2020
1 parent 205bb98 commit 0d17794
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions node-brcode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Node wrapper of `brcode` to parse and emit [PIX BR Code](https://www.bcb.gov.br/

1. `npm install node-brcode --save`
2. Copy `libbrcode.*` from [brcode](https://github.com/naomijub/brcode/tree/master/clj-brcode) to your Node project root:
- for linux copy `libbrcode.so`.
- for macos copy `libbrcode.dylib`.
- `cargo build --release` project from [git](https://github.com/naomijub/brcode) and copy the `libbrcode.*` from `target/release/libbrcode.*` to your Node project root
- for linux copy `libbrcode.so`.
- for macos copy `libbrcode.dylib`.
- `cargo build --release` project from [git](https://github.com/naomijub/brcode) and copy the `libbrcode.*` from `target/release/libbrcode.*` to your Node project root

3. Use it!

Expand Down
2 changes: 1 addition & 1 deletion node-brcode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node-brcode/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-brcode",
"version": "1.0.0",
"version": "1.0.1",
"description": "A wrapper for Rust brcode",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 0d17794

Please sign in to comment.