
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
c3-chart-maker
Advanced tools
A Node.js module and CLI tool for rendering a chart from a CSV file using a C3 spec.
A Node.js module for rendering a chart from a CSV file using a C3 spec.
It can be used from the command line or as a code library. It's a great way to render server-side charts.
This library uses Data-Forge, Nightmare and C3.
npm install -g c3-chart-maker
c3-chart-maker <input-file> --chart=<c3-chart-file> --out=<output-image-file> [--show]
chart Specifies the file that defines the chart.
out Specifies the name of the image file to output for the chart.
show Optional parameter that shows the browser that renders the chart.
c3-chart-maker myspreadsheet.csv --chart=mychartspec.json --out=mychart.png --show
npm install --save c3-chart-maker
const c3ChartMaker = require('c3-chart-maker');
var inputFilePath = "your-input-file.csv";
var chartTemplateFilePath = "my-chart-spec.json";
var outputFilePath = "your-chart-output-file.png";
var options: {
show: true // Show browser used to render the chart.
};
c3ChartMaker(inputFilePath, chartTemplateFilePath, outputFilePath, options)
.then(() => {
console.log('Done');
})
.catch(err => {
console.error(err);
});
Need to be able to merge multiple csv files.
Should be able to plug blanks in the chart template with command line parameters.
Need to be able to include CSS template for the chart so that it can be styled.
FAQs
A Node.js API and CLI tool for rendering a chart from a CSV file using a C3 spec.
The npm package c3-chart-maker receives a total of 18 weekly downloads. As such, c3-chart-maker popularity was classified as not popular.
We found that c3-chart-maker 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.