Socket
Socket
Sign inDemoInstall

@pie-api/pie-api-player

Package Overview
Dependencies
13
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pie-api/pie-api-player

A custom element that renders pies and interacts with [pie-api][pie-api].


Version published
Weekly downloads
15
Maintainers
2
Install size
3.20 MB
Created
Weekly downloads
 

Readme

Source

A custom element that renders pies and interacts with pie-api.

install

npm install

commands

commandsdescription
demo/run --port XXXX (default: 4001)run demo code, see below
npm test
npm run releasecommit the release to github and send the webpack bundle to s3
npm run buildbuild the bundle
npm run deploy-to-s3send the webpack bundle to s3

demo

When you run the demo, you get a little demo page where you can see the player element in use. Also you can use /player.js in other applications. This can be useful if you need to load it up in another app.

build

The build outputs a reqular npm package + a webpack bundle (player.js and player.js.map). This is until we figure out how this is best consumed in the pie-api.

Usage

<pie-api-player token="token" itemId="itemId" host="host"></pie-api-player>

todos..

  • instance lifecycle handling
  • multiple instances on page
  • session id support
  • s3 deploy w/ tagged version?

FAQs

Last updated on 26 Sep 2018

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