Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
A JavaScript implementation of spark.
Install the module with: npm install --save sparkline
var sparkline = require('sparkline');
sparkline([1, 5, 22, 7, 9]);
Install the module globally with: npm install -g sparkline
$ sparkline 12 43 56 30 15
▁▅█▃▁
$ echo 21,45,6,25,19,15 | sparkline
▃█▁▄▃▂
Download the script file to your server, and add the script tag to your HTML file.
<script src="http://example.com/sparkline.js"></script>
<script>
sparkline([8, 31, 5, 20, 24]);
</script>
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Copyright (c) 2013 Shogo Iwano Licensed under the MIT license.
FAQs
A JavaScript implementation of 'spark'.
We found that sparkline 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.