Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

text-screensaver

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

text-screensaver

A simple screensaver that resembles with Windows XP Screensaver with text.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Text Screensaver

A simple text screensaver that resembles with Windows XP screensaver with text.

Install

  • npm install text-screensaver
  • yarn add text-screensaver

Example

Play with sandbox example here: Demo

Options

You can pass following parameters to Text Screensaver in order to generate custom screensaver box

AttributesValues
text / String'Hello World'
speed / NumberSpeed of text in milliseconds
options / ObjectSee options object configuration below

You can pass following parameters to Options object in order to generate custom screensaver box

AttributesValues
width / String300px or 100vw
height / String300px or 100vh
background / Stringcontent-box radial-gradient(crimson, skyblue)
text / String / CSSTextSee value below

Example of CSSText fot text attribute:

margin: 0;
color: red;
line-height: 1;
letter-spacing: -1.4px;
font-size: 3rem;
font-weight: 100;
font-family: 'Arial', sans-serif;
display: inline-block;

Events

  • create() method return HTML element

Keywords

FAQs

Package last updated on 24 Jun 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc