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

dreamtime

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dreamtime

Causality violation for JavaScript. Executing programs before functions are written (think cucumber in js)

  • 1.53.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
60
increased by71.43%
Maintainers
0
Weekly downloads
 
Created
Source

dreamtime

Causality violation for JavaScript. Executing programs before functions are written (think cucumber in js)

Dreamtime Functions

PROCEDURE: First Order Functions

First order functions describe a procedure completed by second order functions.

  • specify order of operations
  • it feels like they exist to debug flow control

TASK: Second Order Functions

Second order functions follow good conventions for managing fulfillment of the task they are charged with.

  • There is a single new Promise instance here and heavy reliance on async functions

UTILITY: Third Order Functions

Third order functions do the dirty work, they don't even receive arguments in an object, they get a standard comma separated deal with it set.

  • get simple arguments (ex: function(url, timeout){ /* dirty work */ })

Todo

  • if module directory changes update the package.json name field

References

https://github.com/fantasyui-com/tarnation

Example

const dreamtime = require('dreamtime');

const program = dreamtime()

  .downloadHtml('http://trackthis.link')
  .htmlQuery('head > script[url]')
  .downloadUrls()
  .extractObjects('ObjectExpression')

console.log(program)

FAQs

Package last updated on 01 Feb 2025

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