Socket
Socket
Sign inDemoInstall

@playnode/react-music

Package Overview
Dependencies
48
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @playnode/react-music

Browser JS to render a music website from JSON data description.


Version published
Maintainers
1
Created

Readme

Source

Playnode React Music Components

Browser JS to render a music website from JSON data description.

npm install @playnode/react-music

See full example here.

import ReactDOM from "react-dom";
import { App } from "@playnode/react-music";

const config = {
    "displayName": "Playnode Music Website",
    "firstName": "",
    "lastName": "",
    "city": "",
    "country": "",
    "avatar": "images/profile-avatar-200x200.png",
    "banner": "images/profile-banner-1240x260.jpg",
    "description": "Hello, World!",
    "infoHtml": "",
    "links": [
        {
            "title": "Playnode.org",
            "href": "http://playnode.org/"
        }
    ],
    "tracks": [
        {
            "artist": "Steven Robertson",
            "title": "Test",
            "pubDate": "Sat, 24 Jun 2017 13:21:15 GMT",
            "path": "test",
            "stream": "test.mp3",
            "duration": 0,
            "waveform": ""
        }
    ]
};

ReactDOM.render(<App data={config}/>, document.getElementById('root'));

License

MIT License

FAQs

Last updated on 25 Sep 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc