Skip to content
View constantology's full-sized avatar
  • muigui.com
  • london

Highlights

  • Pro

Organizations

@muigui @super-useful

Block or report constantology

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Templ8 Templ8 Public

    JavaScript Client/ Server Template Engine

    JavaScript 19 6

  2. Easy-peasy-lemon-squeezy iterating n... Easy-peasy-lemon-squeezy iterating non-standard stream implementations...
    1
    // For non-standard streams — APIs that stream but the library exposes something else and not the underlying Node.js stream, e.g `xml-stream` and `xml-stream-saxjs`,  — you can use the following to perform standard `for await of...` iteration over each item emitted in events.
    2
    
                  
    3
    const sleep = require('./sleep');
    4
    
                  
    5
    module.exports = async function* iterateNonStandardStream({