
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
cryptocharts
Advanced tools
Beautiful, interactive, ready-to-go crypto SVG charts. This library makes it easy to display crypto prices over time, ROI over time, ICONOMI crypto fund holdings and more. Currently works with ICONOMI and CryptoCompare APIs with a dependency on apexcharts.js.
Full docs and demos: https://icnhodler.github.io/CryptoCharts/
npm install cryptocharts --save
and once installed then import * as CryptoCharts from "cryptocharts" in your main js file.
<script src="https://cdn.jsdelivr.net/npm/cryptocharts"></script>
There are many chart types and demos which you'll find in the navigation menu but as a quick example, these few lines of code create an area chart showing the ROI between ETH, BTC, BLX and CAR (ICONOMI crypto funds) over the past 90 days.
<div id="mychart"></div>
CryptoCharts.roiComparison({
chart_id: "mychart",
cryptocompare_tickers: ["BTC","ETH"],
iconomi_tickers: ["BLX","CAR"],
last_days: 90
});
https://codepen.io/jesusthatsgreat/pen/RmOJOJ
The library is powered by ApexCharts and there are a huge number of options available from their docs here: https://apexcharts.com/docs/options/. For example in the chart above if you decide you want to change the chart colours, add a chart title and turn it in to a line chart (instead of an area chart), you can do so like this:
CryptoCharts.roiComparison({
chart_id: "mychart",
cryptocompare_tickers: ["BTC", "ETH"],
iconomi_tickers: ["BLX","CAR"],
last_days: 90,
options: {
colors: ["#88AA24","#EF1273","#122673","#000000"],
title: true,
chart: {
type: 'line'
}
}
});
https://codepen.io/jesusthatsgreat/pen/ZNNxyO/
Note that all options will not work with all chart types - for example in the example above you can't set the chart type to 'pie' because the data isn't in a pie-chart-friendly format (I'm not sure what you'd expect a pie chart to look like by inputting an array of dates and prices!). In general, most of the options are self explanatory and you should find they work with a little trial an error. These docs will expand over time to include more examples with frequently used options.
FAQs
Beautiful, interactive, ready-to-go crypto SVG charts
We found that cryptocharts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.