
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@xmtp/content-type-text
Advanced tools
This package provides an XMTP content type to support text messages.
# npm
npm i @xmtp/content-type-text
# yarn
yarn add @xmtp/content-type-text
# pnpm
pnpm i @xmtp/content-type-text
Use a string to send a text message. It's not required to specify a content type in the send options for text messages.
await conversation.send("gm");
Run yarn dev to build the content type and watch for changes, which will trigger a rebuild.
Before running unit tests, start the required Docker container at the root of this repository. For more info, see Running tests.
yarn build: Builds the content typeyarn clean: Removes node_modules, dist, and .turbo foldersyarn dev: Builds the content type and watches for changes, which will trigger a rebuildyarn lint: Runs ESLintyarn test:setup: Starts a necessary docker container for testingyarn test:teardown: Stops docker container for testingyarn test: Runs all unit testsyarn typecheck: Runs tscFAQs
An XMTP content type to support text messages
The npm package @xmtp/content-type-text receives a total of 2,040 weekly downloads. As such, @xmtp/content-type-text popularity was classified as popular.
We found that @xmtp/content-type-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers 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
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.