Displaying 1 to 20 from 20 results

flat - :steam_locomotive: Flatten/unflatten nested Javascript objects

  •    Javascript

Take a nested Javascript object and flatten it, or unflatten an object with delimited keys.Use a custom delimiter for (un)flattening your objects, instead of ..

grunt-replace - Replace text patterns with applause.

  •    Javascript

Replace text patterns with applause. Define patterns that will be used to replace the contents of source files.

flat-glob - Return glob applied, flattened and duplicate filtered version of the given list of filenames

  •    Javascript

Return glob applied, flattened and duplicate filtered version of the given list of filenames

flatten-obj - Converts an object literal with deeply nested nodes to a simple key/value object

  •    Javascript

If you are familiar with MongoDB you know though that it's possible to update single elements of an array using the dot-notation-syntax.




streamee.js - Stream processing library for node.js

  •    Javascript

One of the most useful feature of streams is back-pressure: if the bottom of the stream pipeline is slow (for example the Web client), then the top will automatically push slowly (for example your database and/or Web server). As a result memory and CPU consumption in node are optimal. Streamee.js allows you to build very easily pipelines that compose and transform streams, so that you can keep back-pressure all along the way in a nice functional programming style. All transformation functions can return Q promises instead of direct values, which makes asynchronous operations less verbose and more functional (less callback hell!). Inspired from Play Framework Enumeratee.

compose-middleware - Compose an array of middleware into a single function for use in Express, Connect, router, etc

  •    TypeScript

Compose an array of middleware into a single function for use in Express, Connect, router, etc. Compose multiple middleware functions into a single request middleware handler, with support for inline error handling middleware.

pathologist

  •    Javascript

Flatten (almost) everything in an SVG document to <path> elements without transforms. See the demo at pathologist.surge.sh. You want to create artwork in Illustrator or Inkscape, but you need a flat list of paths so that you can, I don't know, easily render it to <canvas>. To be honest it's probably a bit niche. But I needed it, and I've been surprised in the past to learn that other people share my esoteric requirements, so here it is. Make of it what you will.


arr-flatten - Recursively flatten an array or arrays

  •    Javascript

Recursively flatten an array or arrays. I wanted the fastest implementation I could find, with implementation choices that should work for 95% of use cases, but no cruft to cover the other 5%.

node-flatnest - Flatten/Nest Javascript objects

  •    Javascript

Flatten/Nest Javascript objects. Keys are named with paths to where the keys where when nested.

html-flatten - paste in random html, get something sane back

  •    CoffeeScript

flattens arbitrary html into a sane structure

flat-obj - Flatten a multi-dimensional Object into an Object of single depth

  •    Javascript

Note: null and undefined values are purged. The object to flatten.

homefront - Object manipulation packed in a simple module.

  •    Javascript

Merge, flatten, expand, search in, fetch from, remove from, put in and work with objects easily. Makes working with javascript objects really easy, in both the browser and on the server.

applause - Human-friendly replacements.

  •    Javascript

Pattern replacer that helps creating human-friendly replacements. Try our [playground], where you can test every single option of applause.

broccoli-replace - Replace text patterns with applause.

  •    Javascript

Replace text patterns with applause. Define the source files that will be used for replacements, you can use globbing via minimatch library.

gulp-replace-task - Replace text patterns with applause.

  •    Javascript

Replace text patterns with applause. Define patterns that will be used to replace the contents of source files.

gulp-flatten - Gulp plugin: remove or replace relative paths for files

  •    Javascript

Remove or replace relative path for files (gulp v3). Relative path for file.

iterare - Array methods + ES6 Iterators = :heart:

  •    TypeScript

ES6 Iterator library for applying multiple transformations to a collection in a single iteration. Ever wanted to iterate over ES6 collections like Map or Set with Array-built-ins like map(), filter(), reduce()? Lets say you have a large Set of URIs and want to get a Set back that contains file paths from all file:// URIs.

react-flatten-children - React utility to flatten fragments 🗜

  •    Javascript

In many cases you have to introspect children, it can be to use the first route matching a path, extract the label of a tab, or another use case.