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

android-api-versions-console-chart

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

android-api-versions-console-chart - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

5

package.json
{
"name": "android-api-versions-console-chart",
"version": "1.0.3",
"version": "1.1.0",
"description": "Android api versions percentage usage chart for displaying in javascript/terminal using nodejs and cli-pie",

@@ -29,4 +29,3 @@ "main": "bin/index.js",

"cli-pie": "^2.4.2",
"node-fetch": "^3.3.0",
"randomcolor": "^0.6.2"
"node-fetch": "^3.3.0"
},

@@ -33,0 +32,0 @@ "bin": {

1

README.md

@@ -50,3 +50,2 @@ # android-api-versions-console-chart

|-------------------------------------------------------------------|---------------------------------------------------------|
| Random Color ([npmjs](https://www.npmjs.com/package/randomcolor)) | A tiny script for generating attractive random colors. |
| Node Fetch ([npmjs](https://www.npmjs.com/package/node-fetch)) | A light-weight module that brings Fetch API to Node.js. |

@@ -53,0 +52,0 @@ | cli-pie ([npmjs](https://www.npmjs.com/package/cli-pie)) | Generate pie charts in terminal and text mode. |

import Pie from "cli-pie";
import randomcolor from "randomcolor";
const mapToPieDataItem = v => Object.assign({}, {
label: `V${v.version}: ${v.name}`,
value: v.distributionPercentage,
color: randomcolor({
luminosity: 'dark',
format: 'rgbArray'
})
value: v.distributionPercentage
});

@@ -12,0 +7,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