Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

example-node-simple-server

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

example-node-simple-server

This example shows you how to host a node.js server on your player. In this example, the server serves the device info object from the `@brightsign/deviceinfo` API when a request is made to the player on port `13131`.

  • 1.2.20
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

Hosting a Node.js server on your player

This example shows you how to host a node.js server on your player. In this example, the server serves the device info object from the @brightsign/deviceinfo API when a request is made to the player on port 13131.

Deployment

Clone this folder to your local dev environment.

  1. npm i
  2. npm run build
  3. Put bundle.js from dest/ and autorun.brs from src/ onto the root of the player's storage
  4. run/restart autorun.brs

FAQs

Package last updated on 26 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc