Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
title-marquee
Advanced tools
Readme
Scrolling text in your browser's title ♫ ♪
npm install title-marquee
or clone this repo.
This plugin follows the CommonJS spec, so you can bundle and require it on the browser with browserify or the like.
<script>
var tm = require('title-marquee');
// Scroll text
tm('Get Low - Lil Jon and the Eastside Boyz');
// Scroll in reverse
tm({ text: 'Someone Like You - Adele', type: 'reverse' });
// Scroll left and right
tm({ text: 'Cool Kids - Echosmith', type: 'bounce' });
// Faster!!!!
tm({ text: 'Heartless - Kanye West', speed: 150 });
// Or use engrish
tm({ text: 'Hot in Herrre - Nelly', speed: 'slow' });
// Other stuff
tm.pause();
tm.resume();
tm.toggle();
tm.text('Change the title to this text right here');
</script>
Consecutive calls to title-marquee will replace the current title.
{
buffer: 10, // # chars shown
type: 'scroll', // 'scroll' | 'reverse' | 'bounce'
speed: 'normal', // 'slow' | 'normal' | 'fast' | time in ms
}
Pass in an options hash or just a string to kick off the scrolling.
Pauses that shit
Resume the scrolling
Too lazy to care? Flip a switch.
Updates the text in place without resetting the scroll offset. This is great for making live updates. For example, frequently updated things like displaying currently playing song or the number of active users.
npm run build
MIT
FAQs
stick a scrolling marquee in your page title
The npm package title-marquee receives a total of 0 weekly downloads. As such, title-marquee popularity was classified as not popular.
We found that title-marquee 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.