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.
minimalist-typewriter
Advanced tools
A very simple and performant package for typing out headings.
A minimalist rewrite of Matt Boldt's Typed.js.
View the demo on GitHub Pages.
<h1>
<Typewriter strings={['My first string', 'My second string']} default="Prefill goes here" />
</h1>
or
<h1>
<Typewriter strings={['My first string', 'My second string']}>
My prefill text
</Typewriter>
</h1>
Traditional usage:
<script src="typewriter.min.js"></script>
.new Typed(selector, strings, config)
.selector
should be a CSS selector (will only select first match) for the element to bind to, strings
should be an array containing the strings to transition to, and config
is an optional argument that should be an object of form:
{
"default": "This is my default string.",
"typeSpeed": 100, // default: "natural"
"backSpeed": 75, // default: "natural"
"cursor": false,
"highlight": true,
"loop": false,
}
i.e., new Typewriter("#typed-text", ["My first string", "My second string"])
.
loop
is true by default and starts automatically. The default
string is set immediately, and then the strings are cycled through. Transitioning between two strings like This is my first string
and This is my second string
will type naturally, backspacing only to This is my
and then typing out the rest of the string.Client-side standalone (closure compiled) is in dist/browser.js
.
FAQs
A very simple and performant package for typing out headings.
The npm package minimalist-typewriter receives a total of 1 weekly downloads. As such, minimalist-typewriter popularity was classified as not popular.
We found that minimalist-typewriter 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.