
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
dmn-elex-race-result-table
Advanced tools
A chart module for displaying one or multiple political race results.
Chart module for one or multiple race results.
$ npm install --save dmn-elex-race-result-table
This module uses ES6 syntax. To use as a pre-compiled module, you'll need a compiler like babel.
In the client, include the global-chart.js
bundle, which defines a global chart object, RaceResultTable
:
<script src="some/path/to/global-chart.js"></script>
To use as a module, simply import the chart object:
import RaceResultTable from 'dmn-elex-race-result-table';
The chart object has two methods, one to create the chart, initially, and another to update it.
var myChart = new RaceResultTable();
// create needs a selection string and prefectched data
myChart.create('#chart', data);
// update needs only new data
myChart.update(newData);
To apply this chart's default styles when using SCSS, simply define the variable $RaceResultTable-container
to represent the ID or class of the chart's container(s) and import the _chart-styles.scss
partial.
$RaceResultTable-container: '#chart';
@import 'path/to/dmn-elex-race-result-table/src/scss/_chart-styles';
Write your chart code in chart.js
and add custom styles to _chart-styles.scss
.
Then, just run gulp:
$ gulp
Or to minimize javascript before publishing:
$ gulp --production
FAQs
A chart module for displaying one or multiple political race results.
The npm package dmn-elex-race-result-table receives a total of 2 weekly downloads. As such, dmn-elex-race-result-table popularity was classified as not popular.
We found that dmn-elex-race-result-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.