
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
react-conversational-text
Advanced tools
A React component that prints messages one character at a time, as if typed by a person.

npm i react-conversational-text
Import and use the ConversationalText component, passing in the list of strings you want printed, along with optional props.
import ConversationalText from "react-conversational-text";
import "./App.css";
function App() {
return (
<div>
<ConversationalText
messages={[
"This is the first message.",
"However, this is the second message.",
]}
/>
</div>
);
}
export default App;
messages (string[]): The list of strings you want to be printed.Each of the following props is optional and can be used to customize the behavior of the ConversationalText component.
delayBetweenCharactersMs (number): The delay in milliseconds between each character. Default is 40ms.delayAfterCommaMs (number): Additional delay in milliseconds after a comma is printed. Default is 500ms.delayAfterSentenceMs (number): Additional delay in milliseconds after a sentence-ending punctuation (., !, ?) is printed. Default is 500ms.delayBetweenMessageMs (number): The delay in milliseconds before starting to print the next message. Default is 1000ms.addSpaceBetweenMessages (boolean): If true, adds a space between messages. Default is true.lineBreakBetweenMessages (boolean): If true, adds a line break between messages. Default is false.onMessageComplete (function): A callback function that is called when each input message is completed. The function receives the index of the completed message as a parameter.
Example: onMessageComplete={(messageIndex) => { /* handle completion of message */ }}onAllMessagesComplete (function): A callback function that is called when all messages have been completed. This function does not receive any parameters.
Example: onAllMessagesComplete={() => { /* handle completion of all messages */ }}style (CSSProperties): Custom CSS styles to apply to the span containing the messages. This is an object that can contain any valid CSS property.To see an example react app using this package, check out this repository.
To report a problem or make a feature request, add a GitHub 'issue' here.
FAQs
Text that prints as if typed by a person
We found that react-conversational-text 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.