JSX-Control-Statements is a Babel plugin that extends JSX to add basic control statements: conditionals and loops. It does so by transforming component-like control statements to their JavaScript counterparts - e.g. <If condition={condition()}>Hello World!</If> becomes condition() ? 'Hello World!' : null. Developers coming to React from using JavaScript templating libraries like Handlebars are often surprised that there's no built-in looping or conditional syntax. This is by design - JSX by is not a templating library, it's declarative syntactic sugar over functional JavaScript expressions. JSX Control Statements follows the same principle - it provides a component-like syntax that keeps your render functions neat and readable, but desugars into clean, readable JavaScript.
react jsx babel babel-plugin if else for each loop react-componentA Node.js scraper for humans. Please post questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.
scraper node-scraper scrape it a scraping module for humansVery useful when you need classes.dex md5 raw hash, encoded with base64 for token generation in WhatsApp.
tool for whatsappEncodes the contents of an AudioBuffer from the WebAudio API as WAVE. Supports 16-bit PCM and 32-bit float data.The code for this has been adapted from the export feature of Recorder.js.
convert audiobuffer to wav format for browser webaudio web-audio audio buffer conversion formats fmt riff wave soundUseful as a side-effect iterator. Prefer p-map if you don't need side-effects, as it's concurrent.Returns a Promise that is fulfilled when all promises in input and ones returned from iterator are fulfilled, or rejects if any of the promises reject. The fulfillment value is the original input.
promise foreach for-each for each collection iterable iterator fulfilled async await promises serial serially series bluebirdSimple 'extend' helper for inheritance and subclassing. Adapted from Backbone.js's Model.extend and CoffeeScript. This works like simple-extend, except this does not have any dependencies.See Backbone.js's Model.extend documentation for more details.
simple 'extend' helper for subclassignIterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js
forin for-in iterate object keys values for for-own has has-own hasown in key own valueIterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning false. JavaScript/Node.js. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
node nodejs object for loop forown for-in for-own has has-own hasown key keys own valueConverts image to canvas with same look. Useful for memory optimization in case of responsive images usage. Also is good for solving Android antialiasing issue in PhoneGap or web applications.
image to canvas android antialias issue memory optimization for responsive imagesA tiny library for creating and selecting DOM elements. Well, in many cases yes. elly is a tiny wrapper around the querySelector, querySelectorAll and document.createElement, so, it basically can select and create DOM elements.
elly a tiny library for creating and selecting dom elementsTransform all for-of loops into the equivalent array for loop
babel-plugin transform for-of for of loop arrayThis project will allow you to iterate over huge arrays asynchronously without impacting responsiveness of the application. The code above will attempt to limit its time spent within visit() function to 8 ms. This will ensure that your main JavaScript thread is not 100% busy calculating maximum, and the browser still has time to do other operations.
async for iterator requestanimationframe rafIt is a trend to use components. Components are cool, they are small, obvious, easy to use and modular. Untill it comes to the id property. Some HTML tag attributes requires using an id property, like label[for], input[form] and many of aria-* attributes. And the problem with the id is that it is not modular. If several id properties on the page will has the same value they can affect each other.
vue id aria unique vuejs directive uniq for formCode your autonomous agent and live watch it challenge other players AIs in deathmatch arenas, CTF maps or in physically realistic race simulations. Your agent is a program that perceives its digital environment, makes decisions, and takes actions to reach its objectives. Tweak it, evolve it, refine it, script it, make it learn — whatever works; one goal : overcome the opponents with your code.
we need your stars for our talk to be selected
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.