nikeee/node-ntag424

A Node.js implementation for interop with NTAG 424 DNA.

★ 3Forks 2TypeScriptGitHub ↗Compare

README

node-ntag424 CI

Requirements

You probably also need

  • @pokusew/pcsclite for actually communicating with the tag (see examples).
    • On Linux, you may also need:
      • apt install libpcsclite-dev pcsc-tools
      • In case you have a ThinkPad with a built-in reader, it might conflict with libpcsclite. This may help: https://stackoverflow.com/a/66558992
      • This library was tested with the reader Alcor Micro AU9540
  • You can use crypto.hkdf (builtin) or nistkdf-800-108 for key diversification/derivation.
  • ndef to parse and create NDEF messages

Usage

See example directory.

npm install ntag424
# keep in mind this project is AGPL licensed

Development

npm ci
npm run build
npm test # build + tests

Resources Used

Data Sheets

Blog Posts

Other Implementations

Big thanks to all of you!

License

See LICENSE. To contribute, you have to sign the CLA in your first PR.

Contributors

nikeeedependabot[bot]github-actions[bot]

Issues