@pivotshare/avails
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"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" | ||
} | ||
} |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1078625
1
0
9
78