Nacho Portmanteau Meltdown
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    nfc-daemonpublic

    node-nfc-daemon

    Simple Node.js daemon which reads NFC tags and exposes a WebSocket with the information.

    Installation

    Via Git

    git clone https://github.com/DanielHuisman/node-nfc-daemon.git`
    cd node-nfc-daemon
    yarn

    Via npm

    yarn global add nfc-daemon

    Usage

    Basic usage

    NFC Daemon
      Simple Node.js daemon which reads NFC tags and exposes a WebSocket with the information.
     
    Options
      -H, --help             Display usage information.
      -v, --version          Display version information.
      -d, --daemon           Run as daemon (background).
      -h, --host string      The host to bind the WebSocket server to (by default 127.0.0.1).
      -p, --port number      The port to bind the WebSocket server to (by default 5000).
      -t, --timeout number   Timeout in milliseconds between reading NFC tags (by default 5 seconds).
      -V, --verbose          Verbose logging (i.e. print all read NFC tags).

    Daemon

    Use the --daemon or -d option to run this application in the background as a daemon.

    Process managers

    Alternatively you can use a process manager, like PM2 or Forever, to start and monitor this application.

    install

    npm i nfc-daemon

    Downloadslast 7 days

    0

    version

    1.0.3

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar