Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pivotshare/avails

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pivotshare/avails - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

bin/avails-diff.js

1

bin/avails.js

@@ -12,2 +12,3 @@ #!/usr/bin/env node

.command('merge', 'merge historical Avails into one')
.command('diff', 'diff two avails to create a new one')
.parse(process.argv);

2

package.json
{
"name": "@pivotshare/avails",
"version": "1.0.0",
"version": "1.1.0",
"description": "Tool for parsing and generating EMA Avails",

@@ -5,0 +5,0 @@ "main": "./lib/avails.js",

@@ -8,8 +8,8 @@ avails -- tools for parsing and generating EMA Avails

`avails merge` [-i type] [-o type] [file ...]
`avails merge` [-i type] [-o type] file1 [file2 ...]
`avails diff` [-i type] [-o type] file1 file2
## DESCRIPTION
Content Availability Metadata, or _avails_, is an Entertainment industry term for information about the time, location and business rules relating to offering a media asset, e.g. a movie or a television show.
`avails convert` simply transforms avails from one format to another.

@@ -19,9 +19,11 @@

`avails diff` will accept two avails, A and B, and return a new avails containing entries unique to B, without entries that exist in both A and B, and with entries that are only in A as _Full Delete_ entries.
The following options are available:
* `-i`, `--input` _<type>_:
Specify the format of input file: tsv, json, xlsx. Required.
Specify the format of input file: tsv, json, xlsx. Required. See [FORMATS]().
* `-o`, `--output` _<type>_:
Specify the format of output file: tsv, json, xlsx. Required.
Specify the format of output file: tsv, json, xlsx. Required. See [FORMATS]().

@@ -31,2 +33,4 @@ * `-h`:

See [BACKGROUND]() for more information regarding the Avails standard and this tool.
## FORMATS

@@ -47,2 +51,10 @@

## BACKGROUND
Content Availability Metadata, or _avails_, is an Entertainment industry term for information about the time, location and business rules relating to offering a media asset, e.g. a movie or a television show.
_avails_ document the transition between states, e.g. _Full Extract_, _Full Delete_, not states themselves, however, by manipulating initial and subsequent avails we can recreate the expected state of content on a given platform. This is the technique utilized by the `merge` and `diff` subcommands, and third-party tools that generate initial avails.
It is recommended to persist submitted avails and use `avails`, together with custom or third-party tools, to easily create new avails, or determine state of content on third-party platforms.
## EXAMPLES

@@ -49,0 +61,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc