npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

oppm

v0.0.7

Published

Ooyala Player Package Manager

Downloads

6

Readme

Ooyala Player Package Manager (Beta)

Ooyala Player Package Manager is a command-line interface geared towards Ooyala customers that are interested in self-hosting the V4 Player. The utility allows you to easily download all the necessary plugins and assets that will be needed for your particular V4 Player use case.

Beta Disclaimer

Please note that this is a beta version of the Ooyala Player Package Manager which is still undergoing final testing before its official release. The website, its software and all content found on it are provided on an "as is" and "as available" basis.

Ooyala does not give any warranties, whether express or implied, as to the suitability or usability of the website, its software or any of its content.

Important

You'll need Node v4.0 or higher to run this program.

We recommend running with the latest version of Node.js. You can easily switch to and from newer Node versions with n (Node version manager).

Installation

The Ooyala Player Package Manager can be easily installed with npm:

npm install -g oppm

Basic Usage

To run the package wizard, simply fire up a terminal window and run:

oppm

The above will display a prompt with several simple questions that will help the wizard determine which files you'll need. After the wizard is completed, you will be prompted to type the name of a folder where you want your .zip package to be created. This package will contain all the necessary files required for hosting, as well as a sample page with guidelines that will help you set up your own V4 Player page.

Targeting specific versions

By default the package manager will target the latest stable version of the player. We recommend that you try to always host the latest version, however, if you need to generate a new package for a previous version, you can do so by using the version parameter, like so:

oppm --version 4.8.5

Running the sample page

The packages that you generate with oppm will contain a sample.htm file with examples that will help you set up the V4 Player on your own website.

You'll need to host the page on an HTTP server in order to be able to see the player in action. The player package will also contain a script file that will run a simple test server for you. Once you unzip your package, you can launch the test server by running the following on a terminal window:

cd path_to_unzipped_package_contents
node run_sample.js

Bundling scripts

oppm can automatically concatenate some of the package's scripts into a single player_bundle.js file. To concatenate scripts, simply choose the YES option when prompted by the wizard.

Bundling script files together can be useful if you want to reduce the number of requests to your server. If your package size is not too large (i.e. you don't require too many plugins), then bundling might provide a performance increase during page load. Bundling scripts on packages with a large number of plugins is not recommended.

Installation Troubleshooting

npm issues with Homebrew on OS X

Installing Node.js through Homebrew can cause problems with npm for globally installed packages such as oppm. Please refer to this link for a possible solution.

Getting a EACCES error when installing

This usually means that you do not have permission to write to the folders where npm installs packages. You can fix this issue by following these steps.

For Developers

For initial project setup, simply run this inside the main project folder:

npm install

Unit tests for oppm can be run using:

npm test

The project also uses ESLint, which is executed automatically after running the unit tests. You can also run the linter separately by using:

npm run linter