
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
twitter-text-tweetlength-js
Advanced tools
subset of official twitter-text library dedicated to counting tweet length
This library is a subset of official twitter-text library dedicated to counting tweet length. Autolinking, extraction and other officially-implemented features were all removed.
Install it with: npm install twitter-text-tweetlength-js
The twttr.txt namespace is exported, making it available as such:
var twitter = require('twitter-text-tweetlength-js');
twitter.getTweetLength('test.com'); // => 23
getTweetLength returns the computed length of a tweet after taking into consideration t.co URL shortening and non UTF-16 characters
var tweet = "This is a test tweet";
var remainingCharacters = 140 - twttr.txt.getTweetLength(tweet);
FAQs
subset of official twitter-text library dedicated to counting tweet length
The npm package twitter-text-tweetlength-js receives a total of 2 weekly downloads. As such, twitter-text-tweetlength-js popularity was classified as not popular.
We found that twitter-text-tweetlength-js 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.