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

slowjam

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slowjam

Plays your code, slowly.

  • 0.1.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Slow Jam the Code

slowjam

Awesome features!

  • Plays your code, slowly. Useful for recording software demos or closely watching Selenium user interface tests run.

  • Can slow jam JavaScript, CoffeeScript, and Literate CoffeeScript.

  • Simple API. Load and play -- that's all you need to know!

  • Open source. (MIT License)

Install

Local

npm install slowjam

Everywhere

npm install -g slowjam

Example usage

As a Library

Default
slowjam = require('slowjam')
jam = new slowjam.SlowJam()
jam.load('/path/to/slowjam-worthy-code.js')
jam.play()
Customized
slowjam = require('slowjam')
jam = new slowjam.SlowJam({'slowness':2000, 'log':true})
jam.load('/path/to/slowjam-worthy-code.js')
jam.play()

From the Command Line

  slowjam /path/to/slowjam-worthy-code.js

Options

Slowness

By default, a one second delay is added between each statement.

> jam.slowness = 1000   // 1000 milliseconds, or 1 second

You can speed up the jam by reducing the slowness.

> jam.slowness = 500   // 500 milliseconds, or 0.5 seconds

Or slow your jam way down...

> jam.slowness = 5000  // 5000 milliseconds, or 5 seconds

Logging

By default, slowjam does not log the statement about to be run to stdout.

> jam.log = false

But you can turn that on.

> jam.log = true

Keywords

FAQs

Package last updated on 05 Jun 2014

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