Socket
Socket
Sign inDemoInstall

skonq

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

skonq - npm Package Compare versions

Comparing version 0.1.0-1 to 0.1.0-2

2

package.json
{
"name":"skonq"
,"version":"v0.1.0-1"
,"version":"v0.1.0-2"
,"homepage":"http://skod.it/"

@@ -5,0 +5,0 @@ ,"main":"skonq"

@@ -0,0 +0,0 @@ skonq is intended to be a lightweight library for queuing functions. This was born out of laziness - so it's very basic and simple to use. I didn't need 95% of the functionality in ASYNC or STEP and I don't like the syntax for queuing functions with those so this was created, if you need more functionality then check out those 2 great libraries.

var nqq = [];
var nq = function(fun,args){nqq.push(fun);nqq.push(args);console.log(nqq);if(nqq.length == 2){nqcb();}};
var nq = function(fun,args){nqq.push(fun);nqq.push(args);if(nqq.length == 2){nqcb();}};
var nqcb = function(){var f = nqq.shift(); var a = nqq.shift();if(typeof f == "function"){f(a);}};

@@ -4,0 +4,0 @@

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