
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
minimalist-typewriter
Advanced tools
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 0 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.