Displaying 1 to 18 from 18 results

jsx-control-statements - Neater If and For for React JSX

  •    Javascript

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.

co-each - Parallel forEach for generators

  •    Javascript

Parallel forEach for generators.as in Array#forEach and yield when all are done. Functions are being executed in parallel.




each-async - Async concurrent iterator (async forEach)

  •    Javascript

Like async.each(), but tiny.I often use async.each() for doing async operations when iterating, but I almost never use the other gadzillion methods in async.

p-each-series - Iterate over promises serially

  •    Javascript

Useful 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.

indent-string - Indent each line in a string

  •    Javascript

String you want to indent.How many times you want indent repeated.

async-each-series - Apply an async function to each Array element in series

  •    Javascript

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


metalsmith-each - Metalsmith plugin for easily applying a function to each file or filename.

  •    Javascript

A Metalsmith plugin for easily applying a function to each file or filename. This offers a simpler API than creating a full metalsmith plugin for the common case of iterating over each file individually and doing something to the file or filename.

node-each - Chained and parallel async iterator in one elegant function

  •    CoffeeScript

Node Each is a single elegant function to iterate asynchronously over elements both in sequential, parallel and concurrent mode. It is a both a powerful and mature library. Then, simply copy or link the project inside a discoverable Node directory (eg './node_modules').

promise-each - Call a function for each value in an array and return a Promise

  •    Javascript

Call a function for each value in an array and return a Promise. Should only be used for side effects. Waits for promises to resolve before proceeding to the next value. This module is basically equivalent to bluebird.each, but it's handy to have the one function you need instead of a kitchen sink. Modularity! Especially handy if you're serving to the browser and need to reduce your javascript bundle size.

mocha-each - Parameterized test for Mocha

  •    Javascript

This module provides a way to write simple parameterized tests in Mocha. The function mocha-each provides takes parameters as an array and returns a parameterized test function. You can define test cases for each parameter by the function. All the test cases you defined are executed even if one or more cases fail during the test.

foreach - Foreach component + npm package

  •    Javascript

Iterate over the key value pairs of either an array-like object or a dictionary like object.

jest-each - A parameterised testing library for Jest. https://www.npmjs.com/package/jest-each 🏃

  •    Javascript

A parameterised testing library for Jest inspired by mocha-each. jest-each allows you to provide multiple arguments to your test/describe which results in the test/suite being run once per row of parameters.

each-promise - :cyclone: Asynchronous control flow library for now and then

  •    Javascript

You may think why this exists, what is this for, why not Sindre's microlibs like p-map, p-map-series, p-settle, p-each-series or p-reduce. They do their jobs okey, but in some cases they don't. And that's the my case. I need control over "fast fail" behavior, also known as "settle" or "bail". I need serial and parallel iteration, but parallel with concurrency too. They requires node v4, and uses native Promise constructor. I believe in that we should not use modern things if we don't need them, it is just syntax sugar. This package is written in way that works in node versions below v4 and also you can pass custom Promise constructor through options.Promise if you want.

postcss-at-rules-variables - PostCss plugin to use CSS Custom Properties in at-rule @each, @for, @if, @else and more

  •    Javascript

PostCSS plugin to transform W3C CSS Custom Properties for at-rule’s parameters. Adds the ability to use a custom property in the options, at-rules. Used in conjunction with the plugin postcss-each, postcss-conditionals, postcss-for and more at-rules plugins.






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.