@idecentralize/simple-server

A simple socket class

Usage no npm install needed!

<script type="module">
  import idecentralizeSimpleServer from 'https://cdn.skypack.dev/@idecentralize/simple-server';
</script>

README

Simple Server

Version npm

This simple server can;

Listen on HTTP Protocol Open Socket Connection Start Arduino Link

Install

npm install

Create an index.js file

Note to Linux users! You might need to allow permission to access the device. Use this command with your device name if different

sudo chmod a+rw /dev/ttyACM0