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.1.0 to 1.1.1

10

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

@@ -33,3 +33,11 @@ "main": "./lib/avails.js",

"tape": "^4.5.1"
},
"bugs": {
"url": "https://github.com/pivotshare/avails/issues"
},
"homepage": "https://github.com/pivotshare/avails#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/pivotshare/avails.git"
}
}

35

README.md

@@ -1,3 +0,3 @@

avails -- tools for parsing and generating EMA Avails
=====================================================
avails -- tool for manipulating EMA Avails
==========================================

@@ -23,6 +23,6 @@ ## SYNOPSES

* `-i`, `--input` _<type>_:
Specify the format of input file: tsv, json, xlsx. Required. See [FORMATS]().
Specify the format of input file: tsv, json, xlsx. Required. See [FORMATS](#formats).
* `-o`, `--output` _<type>_:
Specify the format of output file: tsv, json, xlsx. Required. See [FORMATS]().
Specify the format of output file: tsv, json, xlsx. Required. See [FORMATS](#formats).

@@ -32,3 +32,3 @@ * `-h`:

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

@@ -40,3 +40,3 @@ ## FORMATS

`avails` supports the following formats:
- Tab-serparated values (tsv)
- Tab-separated values (tsv)
- Microsoft Excel (xlsx)

@@ -59,19 +59,18 @@ - JSON (json)

## EXAMPLES
## INSTALLATION
You can use Avails as a CLI or a library.
You can use `avails` as a CLI or a Node.JS module.
as library:
as CLI:
```sh
npm install -g avails
avails convert -i json -o xlsx <movies.json >movies.xlsx
```
const Avails = require('@pivotshare/avails'); // npm install avails
const obj = Avails.fromTSVLine('SomeFilmStudio\tEN\tUS\tMovie'); // etc
// { display_name: 'SomeFilmStudio', store_language: 'EN', territory : 'US', work_type: 'Movie', ... }
```
as CLI:
as module:
```js
// npm install avails
const Avails = require('@pivotshare/avails');
const obj = Avails.fromTSVLine('SomeFilmStudio\tEN\tUS\tMovie');
```
# npm install -g avails
# avails --help
avails convert -i json -o xlsx <movies.json > movies.xlsx
```

@@ -78,0 +77,0 @@ ## SEE ALSO

Sorry, the diff of this file is not supported yet

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