New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ascii-animation

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ascii-animation

A tool that displays ascii animation

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
increased by180%
Maintainers
1
Weekly downloads
 
Created
Source

Ascii Animation

A library that animates ASCII characters

Install

To install, run

> npm install --save ascii-animation

Then require it as

var animation = require('ascii-animation');

Methods

animate

The main method that animates. To use, run the code as

animation.animate([array with each frame],
                  [will loop this condition until it is false],
                  [callback])

secondsPerFrame

Sets the seconds to wait between each frame

animation.secondsPerFrame(0.5);

usecondsPerFrame

Sets the microseconds to wait between frame

animation.usecondsPerFrame(100000);

updateCondition

Updates the condition

animation.updateCondition(false);

Example

For an example, please see dancing bear

Version

1.0.4

  • Fixed sleep dependency

1.0.3

  • Fixed require colors bug

1.0.2

  • Fixed bug that didn't allow on windows

1.0.0

  • First release

Keywords

FAQs

Package last updated on 25 Jun 2015

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