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 - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

12

lib/slowjam.js

@@ -29,5 +29,5 @@ // slowjam: ScreenSlow Jam the Code

function SlowJam() {
function SlowJam(args) {
this.slowness = 1000
this.log = true
this.log = false
this.fileName = ''

@@ -39,2 +39,9 @@ this.asMarkdown = ''

this.asAST = null
if (args) {
var keys = Object.keys(args)
keys.forEach(function(key){
this[key] = args[key]
}, this)
}
}

@@ -164,2 +171,1 @@

module.exports.SlowJam = SlowJam
{
"name": "slowjam",
"version": "0.1.4",
"version": "0.1.5",
"description": "Plays your code, slowly.",

@@ -5,0 +5,0 @@ "author": "Jason Huggins <jrhuggins@gmail.com>",

@@ -31,2 +31,4 @@ Slow Jam the Code

### As a Library
#### Default

@@ -37,3 +39,9 @@ slowjam = require('slowjam')

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

@@ -61,8 +69,8 @@

By default, slowjam logs the statement about to be run to stdout.
By default, slowjam does not log the statement about to be run to stdout.
> jam.log = true
> jam.log = false
But you can turn that off, so now your code will run -- slowly, and quietly.
But you can turn that on.
> jam.log = false
> jam.log = true

Sorry, the diff of this file is not supported yet

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