Socket
Socket
Sign inDemoInstall

svelte-typewriter

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-typewriter - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

CHANGELOG.md

18

package.json
{
"name": "svelte-typewriter",
"description": "A simple and reusable typewriter effect for your Svelte applications",
"version": "1.1.1",
"keywords": ["svelte", "typewriter-effect"],
"repository": {
"type": "git",
"url": "https://github.com/henriquehbr/svelte-typewriter"
},
"version": "1.2.0",
"main": "Typewriter.svelte",
"author": "Henrique Borges <henriqueborgeshbr@gmail.com>",
"license": "MIT",
"husky": {
"hooks": {
"pre-push": "auto-changelog -p && git add CHANGELOG.md && git commit -m 'create CHANGELOG.md'"
}
},
"peerDependencies": {
"svelte": "^3.14.0"
"svelte": "^3.14.1"
},
"devDependencies": {
"auto-changelog": "^1.16.2",
"husky": "^4.0.0-beta.5"
}
}

@@ -32,4 +32,34 @@ # svelte-typewriter

## TODO
## Options
- Pass a option through props to enable/disable typewriting cascading effect
You can control the behavior of the typewriter effect by passing specific props to the `Typewriter` component
### `interval`
The interval in milliseconds between each letter
default: `30`
#### Example:
```html
<Typewriter interval={50}>
<p>Each letter of this paragraph will be displayed with a interval of 50 milliseconds</p>
</Typewriter>
```
### `cascade`
Enables the cascading mode, where each element is animated sequentially instead of simultaneously
default: `false`
#### Example:
```html
<Typewriter cascade>
<h1>First</h1>
<h2>Second</h2>
<h3>Third</h3>
</Typewriter>
```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc