Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
A typewriter effect library for React.
Examples, API docs, and guides can all be found at the docs site!
Apply the typewriter (or, ahem, "windup") effect to:
Use the API to:
Where the action is happening in this codebase.
src/Windup.ts
The bulk of the file are functions which return modified versions of a windup (e.g. next
, rewind
), utilities (e.g. isUnplayed
), or functions for creating a Windup data structure (e.g. windupFromString
).
The windup data structure is also described here:
src/react/useWindup.ts
This is a hook that is used internally by WindupChildren
and useWindupString
. It does the bulk of the work of a windup: scheduling the next update, triggering effects, returning callbacks for rewinding/skipping etc.
src/react/useWindupString.ts
This hook does very little: it just turns a string into a windup and passes it along to useWindup
.
src/react/WindupChildren.tsx
A lot going on in this one: transforming the children
data type into a Windup, and a rough heuristic to determine when the value of children
has 'changed' (big quotation marks).
v1.1.0
StyledText
component to be used with Linebreaker
. Use this if you
have differently styled text within a single Linebreaker
usage.useWindupString
will now display the current string value in React devtoolsFAQs
A unique typewriter effect library for React.
The npm package windups receives a total of 2,085 weekly downloads. As such, windups popularity was classified as popular.
We found that windups demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.