comparing-dependencies
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -13,3 +13,3 @@ const { parse } = require('json2csv') | ||
exports.createCsv = packageJsons => { | ||
const createCsv = packageJsons => { | ||
const allDeps = packageJsons.map(json => [...Object.entries(json.dependencies), ...Object.entries(json.devDependencies)]) | ||
@@ -34,1 +34,4 @@ const libraryNames = extractLibraryNames(allDeps) | ||
} | ||
module.exports = createCsv | ||
module.exports.default = createCsv |
{ | ||
"name": "comparing-dependencies", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "This library outputs the comparison results of depending libraries as a CSV file.", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -15,10 +15,16 @@ # comparing-dependencies | ||
WIP | ||
``` | ||
yarn add comparing-dependencies | ||
``` | ||
## API | ||
WIP | ||
### createCsv | ||
```ts | ||
createCsv(jsons: {}[]): string | ||
``` | ||
## Examples | ||
- [Examples for comparing-dependencies](./examples) |
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
3465
46
30