2.4.3 • Public • Published


Version npm Custom badge

m2m is a lightweight communication library for developing client-server or pub-sub applications using the machine-to-machine framework node-m2m.

Instantly connect machines or endpoints from anywhere communicating through the internet, WAN or LAN in real-time.

Create m2m applications where endpoints distributed around the globe communicate and exchange data traversing the internet/WAN using a combination of http and websocket protocol.

Create edge applications where endpoints communicate through local area networks using tcp or udp protocol for a super-fast low latency edge computing environment.

Its simple api and software-defined computing environment makes it easy to create any applications requiring a secure dynamic networking path that can traverse any regional boundaries using the public internet and private LANs.

Access to endpoints is restricted to authenticated and authorized users only ensuring a secure endpoint access (SEA) everytime.

All communications traffic between endpoint devices are fully encrypted using TLS or a combination of standard public and private encryptions based on NIST.

To use this library, users will need to register with node-m2m.

Start your first m2m application from the quick tour guide.

Table of contents

  1. Supported Platform
  2. Node.js version requirement
  3. Installation
  4. Quick Tour

Supported Platform

  • Raspberry Pi Models: B+, 2, 3, Zero & Zero W, Compute Module 3, 3B+, 3A+, 4B (generally all 40-pin models)
  • Linux
  • Windows
  • Mac

Node.js version requirement

  • Node.js versions: Ideally the latest LTS version.


$ npm install m2m

Package Sidebar


npm i m2m

Weekly Downloads






Unpacked Size

153 kB

Total Files


Last publish


  • ealegrid