open-index/open-npm huggingface dataset:
npm package: @liveryvideo/interactive
Description: Livery video interactive application for use in web browsers.
Author: Liveryvideo
Latest version: 4.0.1-rc.1

# Livery Interactive Client

This is a frontend application for Livery interactive video client.
Full documentation can be found here - https://docs.livery.live/

## Usage

This interactive client can be embedded within the Livery Video Player two ways: iFrame and web component.

### iFrame

The project's build flow is set up to generate a deployable bundle to any environment handled in Livery devops panel. All files and assets are deployed to the specified environment and loaded within the iFrame.

Example test URL: https://embed.livery.live/?id=5ddb98f5e4b0937e6a4507f2&livery_interactive=https://dev-stable.interactive.livery.live?livery_tenantid=____8SDWDJfHfXtGwM0AAA==

The `livery_interactive` query parameter can be replaced with any URL and that URL will be loaded in the iFrame.

### Web component

The project's build flow is set up to generate a package that gets published to NPM that can then be loaded by the video player. This package injects the interactive client into a custom element added by the video player.

Package URL: https://www.npmjs.com/package/@liveryvideo/interactive

Example test URLs:

- Beta: https://beta.d3laskrvv57qvc.amplifyapp.com/?livery_interactive=latest;dev-stable;____8SDWDJfHfXtGwM0AAA==
- Embed: https://embed.livery.live/?id=5ddb98f5e4b0937e6a4507f2&v=beta&livery_interactive=latest;dev-stable;____8SDWDJfHfXtGwM0AAA==

The `livery_interactive` query parameter is split into `<package version>;<region>;<tenant ID>`. Package version is the version published to NPM or `latest`. Region is the environment name that the backend is hosted on (for example dev-stable for backend.dev-stable.interactive.livery.live). Tenant ID is the id of the tenant to be used.

## Contributors

Contributors names and contact info

- [Eugene Sternin](eugene@exmachina.nl)
- [Oleg Makushev](oleg@exmachina.nl)
- [Sander van den Brink](sander@exmachina.nl)
- [Michael Adam Lockwood](adam@exmachinagroup.com)
- [Tyler Pepper](tyler@exmachina.nl)

## License

This project is licensed under the MIT License
npm package: @liveryvideo/interactive-bridge
Description: Livery Video Interactive Bridge.
Author: Livery Video
Latest version: 1.16.3

# Livery Video Interactive Bridge

[![npm package](https://img.shields.io/npm/v/@liveryvideo/interactive-bridge.svg?logo=npm)](https://www.npmjs.com/package/@liveryvideo/interactive-bridge)
[![conventional CHANGELOG](https://img.shields.io/badge/conventional-CHANGELOG-FE5196.svg?logo=conventionalcommits)](https://docs.livery.live/npm/interactive-bridge/CHANGELOG)
[![tsdoc API](https://img.shields.io/badge/tsdoc-API-3178C6.svg?logo=typescript)](https://docs.livery.live/npm/interactive-bridge/dist/)
[![docsify Documentation](https://img.shields.io/badge/docsify-Documentation-2ECE53.svg?logo=docsify)](https://docs.livery.live/interactive-bridge)
[![Lit Elements](https://img.shields.io/badge/Lit-Elements-324FFF.svg?logo=lit)](https://lit.dev/)
[![license MIT](https://img.shields.io/npm/l/@liveryvideo/interactive-bridge.svg?color=808080&logo=unlicense)](https://cdn.jsdelivr.net/npm/@liveryvideo/interactive-bridge/LICENSE)

Bridge for communicating between a Livery Video Player and the interactive layer page shown within that.

Please refer to our [docs](https://docs.livery.live/interactive-bridge) page for further information.

You can also view the [CHANGELOG](CHANGELOG.md) and [API](dist/index.md) documentation that are included in this NPM package from there.

## Installation

```bash
npm install @liveryvideo/interactive-bridge
```

## Usage

The main class to be used from this package is the InteractiveBridge:

```JS
import { InteractiveBridge } from '@liveryvideo/interactive-bridge';
// The playerBridge will be provided to you as interactive element as interactive webview or iframe
const bridge = new InteractiveBridge(playerBridge || '*');
// To prevent cross site security issues:
// https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage#security_concerns
// replace the `'*'` origin above with the origin of the page that the Livery Player is on
bridge.getAppName().then(appName => window.alert(`appName: ${appName}`));
```
npm package: @livescale/pino-datadog
Description: A transport for pino that sends messages to DataDog
Author: Osmond van Hemert
Latest version: 2.0.2

# pino-datadog

[![CI](https://github.com/ovhemert/pino-datadog/workflows/CI/badge.svg)](https://github.com/ovhemert/pino-datadog/actions)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fbe6390adeba49a5a62349410a8439cc)](https://www.codacy.com/app/ovhemert/pino-datadog?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=ovhemert/pino-datadog&amp;utm_campaign=Badge_Grade)
[![Known Vulnerabilities](https://snyk.io/test/npm/pino-datadog/badge.svg)](https://snyk.io/test/npm/pino-datadog)
[![Coverage Status](https://coveralls.io/repos/github/ovhemert/pino-datadog/badge.svg?branch=master)](https://coveralls.io/github/ovhemert/pino-datadog?branch=master)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)

This module provides a "transport" for [pino][pino] that forwards messages to a [DataDog][datadog].

## Installation

To use globally from command line:

```bash
npm install -g pino-datadog
```

To include as a library in your project:

```bash
npm install pino-datadog
```

## CLI

Want to use `pino-datadog` from the CLI?
See the [CLI](./docs/CLI.md) documentation for details.

## API

Want to use `pino-datadog` as a library in your project?
See the [API](./docs/API.md) documentation for details.

## Maintainers

Osmond van Hemert
[![Github](https://img.shields.io/badge/-website.svg?style=social&logoColor=333&logo=github)](https://github.com/ovhemert)
[![Web](https://img.shields.io/badge/-website.svg?style=social&logoColor=333&logo=nextdoor)](https://ovhemert.dev)

## Contributing

If you would like to help out with some code, check the [details](./.github/CONTRIBUTING.md).

Not a coder, but still want to support? Have a look at the options available to [donate](https://ovhemert.dev/donate).

## License

Licensed under [MIT](./LICENSE).

[pino]: https://www.npmjs.com/package/pino
[datadog]: https://www.datadoghq.com
npm package: @livescale/restify-oauth-server
Description: OAuth provider for restify
Latest version: 0.2.9

# Restify OAuth Server [![Build Status](https://travis-ci.org/AndrewAskins/restify-oauth-server.png?branch=master)](https://travis-ci.org/AndrewAskins/restify-oauth-server)

Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with [restify](https://github.com/strongloop/express) in [node.js](http://nodejs.org/). This module is a fork of express-oauth-server.

This is a restify wrapper for [@livescale/oauth2-server](https://github.com/thomseddon/node-@livescale/oauth2-server).

## Installation

    $ npm install restify-oauth-server

## Quick Start

The module provides two middlewares - one for granting tokens and another to authorise them. `restify-oauth-server` and, consequently `@livescale/oauth2-server`, expect the request body to be parsed already.
The following example uses restify's '`body-parser` but you may opt for an alternative library.

```js
var restify = require('restify');
var OAuthServer = require('restify-oauth-server');

var server = restify.createServer();

server.oauth = new OAuthServer({
  model: {}, // See https://github.com/thomseddon/node-@livescale/oauth2-server for specification
});

server.use(restify.acceptParser(server.acceptable));
server.use(restify.authorizationParser());
server.use(restify.bodyParser());

// Node Oauth2 Server expects the token request to be x-www-url-formencoded according to the Oauth2 spec
// Restify's body parser puts formencoded params in req.params, so we'll need a quick little bit of middleware to copy them over to the body
server.use(function(req, res, next) {
  if(req.headers['content-type'] === 'application/x-www-url-formencoded') req.body = req.params;
  return next();
});

server.post('/token', server.oauth.token());

server.get('/secret', server.oauth.authenticate(), function(req, res, next) {
  res.send('Authenticated!');
});

server.listen(3000);
```

You can find examples in the examples folder for different databases, but I haven't updated them or tested them yet, so take them for what they are.
npm package: @livescale/terraformjs
Description: A HashiCorp Terraform wrapper
Latest version: 0.1.3

terraformjs
===========

terraformjs is a javascript wrapper for terraform, which aims to provide an simple API to execute terraform commands from a nodejs app.


## Alternatives

There don't appear to be any.


## Installation

```shell
$ npm install [-g] terraformjs
```


## Usage

```javascript

var terraform = require('terraformjs')

console.log(terraform.version())
// 0.8.5

# The constructor receives the following three arguments:
# workDir = process.cwd(), silent = false, noColor = false
let tf = new terraform.Terraform(workDir, silent, noColor);
let outcome = tf.apply()
console.log(outcome.stdout)

// To pass options:
let outcome = tf.apply(
    {
        'state': 'my-state-file.tfstate',
        'var': {'foo': 'bar', 'bah': 'boo'},
        'vars_file': ['x.tfvars', 'y.tfvars']
    }
)

// A commands positional arguments will be passed alongside an object of options:
let outcome = tf.apply({}, process.cwd())

```

## Command positional arguments and options

* Optional positional arguments can be passed as `null` to the function if not required.
* Option names are normalized (e.g. `vars_file` is really `--vars-file`).
* Strings are simple options (e.g. `-state=my-state-file.tfstate`)
* Objects are converted to (multiple) key=values (e.g. `-var 'foo=bar' -var 'bah=boo'`)
* Arrays are converted to multi-usage options (e.g. `--vars-file=x --vars-file=y`)


## Supported subcommands

As of now, the supported subcommands are:

* apply
* destroy
* console
* fmt
* get
* graph
* import
* init
* output
* plan
* push
* refresh
* show
* taint
* untaint
* validate


## Contributions..

See [CONTRIBUTIONS](https://github.com/strigo/terraformjs/blob/master/CONTRIBUTING.md)

Pull requests are always welcome..