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

anothersequencer

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anothersequencer - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.gitattributes

2

package.json
{
"name": "anothersequencer",
"version": "0.0.1",
"version": "0.0.2",
"description": "Simple script tree sequencer in javascript. Allows creating fairly complex trees of sync/async functions or requestAnimationFrame functions with optional delays, as well as subscribing to particular outputs in the tree at any time.",

@@ -5,0 +5,0 @@ "main": "sequencer.js",

@@ -5,2 +5,4 @@ ## anothersequencer

`npm i anothersequencer`
Usage:

@@ -7,0 +9,0 @@ ```

@@ -118,4 +118,4 @@ //Simple script sequencer

if(typeof o === 'function') {
if(o.constructor.name == 'AsyncFunction') await o(previousResult);
else result = o(previousResult); //can just shove functions into the sequencer
if(o.constructor.name == 'AsyncFunction') previousResult = await o(previousResult); //if the functions are in a basic sequence this passes results along
else previousResult = o(previousResult); //can just shove functions into the sequencer

@@ -122,0 +122,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