0.11.0 • Published 3 years ago

@poductivity/poductivity-sdk-js v0.11.0

Weekly downloads
63
License
SEE LICENSE IN LI...
Repository
-
Last release
3 years ago

Poductivity SDK - JavaScript

Tests

Installation

Simple: From CDN

Include the below script tags in the <head> section of your web page. The HTML tags <poductivity-player> and <poductivity-client> will be instantly ready to use in your application.

<script type="module" src="https://cdn.jsdelivr.net/npm/@poductivity/poductivity-sdk-js@0/dist/poductivity-sdk-js/poductivity-sdk-js.esm.js"></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@poductivity/poductivity-sdk-js@0/dist/poductivity-sdk-js/poductivity-sdk-js.js"></script>

Advanced: From npm

Install via NPM:

npm install --save @poductivity/poductivity-sdk-js

Apply polyfills as necessary and register the custom elements: (The call to applyPolyfills is optional)

import { applyPolyfills, defineCustomElements } from '@poductivity/poductivity-sdk-js/loader';
applyPolyfills().then(() => {
  defineCustomElements();
});

If using a framework such as Angular/React/Vue, you may have to register the components with the framework. Please see here for details.


Usage

Poductivity Embed Player

A HTML embeddable podcast player with Poductivity interaction. Read documentation

Poductivity Client

Add Poductivity interaction to your own podcast player. Read documentation


Development

  • Run npm install
  • Run npm start - default host is at localhost:3333
  • Run tests with npm run test or npm test.watch
  • Run linter with npm run lint

Releasing

  • Increment the version with npm version patch|minor|major
  • Run npm publish. If lint or tests fail, will not publish.
0.11.0

3 years ago

0.10.2

3 years ago

0.10.1

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.4

3 years ago

0.8.3

3 years ago

0.8.2

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.4

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago