@fnu/poshett-web
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

poshett-web

npm version

poshett-web is the common HTML server and visual interface part of the Poshett project.

Installing

Add to your project using:

npm install @fnu/poshett-web

Usage

var poshett = require('@fnu/poshett-web');

poshett.initServer();

poshett.startServer(); // Server runs on localhost:3000

poshett.setCurrentMusic({
    title: 'Never Gonna Give You Up',
    artist: 'Rick Astley',
    imgUrl: 'https://upload.wikimedia.org/wikipedia/en/1/1c/Rick_Astley_-_Whenever_You_Need_Somebody.png'
});

Package Sidebar

Install

npm i @fnu/poshett-web

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

1.9 MB

Total Files

16

Last publish

Collaborators

  • binarybrain
  • protectator