Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
chartist-html
Advanced tools
html store and no-JavaScript input syntax for Chartist.js charts. Includes JavaScript code that brings static html snippets back to life once they are rendered.
Proposal for a JS-less input syntax for Chartist.js charts, written in pure HTML. ChartistHtml
brings static html snippets back to life on command, including tooltips, custom high-level options and number formatting using numeral
.
Simply install using bower:
bower install --save chartist-html
Create your first chart and include it your html:
<div class="cts" data-type="bar" data-options="stacked|horizontal">
<ul>
<li class="cts__labels">May|June|July|August|September</li>
<li class="cts__series" data-name="Federal">1|2|3|4|5</li>
<li class="cts__series" data-name="State">1|2|3|4|5</li>
<li class="cts__series" data-name="Local">1|2|3|4|5</li>
</ul>
</div>
Add the script once document is loaded:
ChartistHtml.render();
The unordered list tag is now hidden (in case you didn't readily style it so), and has the fully rendered Chartist.js chart as its sibling:
<div class="cts" data-type="bar" data-options="stacked|horizontal">
<ul>...</ul>
<div class="ct-chart">
<svg><!-- --></svg>
</div>
</div>
This library gives you the option to store all chart data in your html without having to add any JavaScript dependencies. This will come in handy if:
Features:
FAQs
html store and no-JavaScript input syntax for Chartist.js charts. Includes JavaScript code that brings static html snippets back to life once they are rendered.
The npm package chartist-html receives a total of 0 weekly downloads. As such, chartist-html popularity was classified as not popular.
We found that chartist-html 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.