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

comparing-dependencies

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comparing-dependencies - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

5

main.js

@@ -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

2

package.json
{
"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)
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