Displaying 1 to 20 from 25 results

js-traverse - Traverse and transform objects by visiting every node on a recursive walk.

  •    Javascript

Traverse and transform objects by visiting every node on a recursive walk.Each method that takes an fn uses the context documented below in the context section.

voyeur

  •    Javascript

Voyeur is a tiny (1.2kb) Javascript library that lets you traverse and manipulate the DOM the way it should have been. See here for a demo, more information and documentation. Voyeur is a great concept but I highly recommend you avoid it in production. There is serious performance issues yet to be worked out. See here.

generate-schema - Convert JSON Objects to MySQL Schema, JSON Schema, Mongoose Schema, Google BigQuery, or a Generic template for Swagger files, documentation, code generation, and more

  •    Javascript

Convert JSON Objects to MySQL Table Schema, JSON Schema, Mongoose Schema, ClickHouse Schema, Google BigQuery, or a Generic template for documentation, code generation, and more. Optionally, add -g to the above if you want the generate-schema command line executable.




ast-traverse - simple but flexible AST traversal with pre and post visitors

  •    Javascript

Simple but flexible AST traversal with pre and post visitors. Works in node and browsers.


kad-traverse - nat traversal plugin for kad

  •    Javascript

NAT traversal extension for Kad.Install kad-traverse with NPM.

node-pathway - trace key-paths through nested objects

  •    Javascript

Return an array of all the matching paths through the nested object obj that match the key path route path.Some types may select multiple matching results at a given node, in which case all the matching nodes at that level will be followed forward into the result until a later condition isn't satisfied.

traverse - low level traverse function, inspired by $.dir

  •    Javascript

Traverse using the given property on element getting elements that match the given selector until len is reached. if selector is omitted, all elements are returned. len is defaulted to 1.

tree-crawl - :leaves: Agnostic tree traversal library.

  •    Javascript

Agnostic tree traversal library. If you are really concerned about performance, you could read items from the stack directly. Each item has a node and index property that you can use. The first item in the stack can be discarded and will have a node set to null. Be aware that you should not mutate the stack, or it will break the traversal.

finder - 🔍 Finder: find files and directories with an intuitive API.

  •    PHP

Nette Finder makes browsing the directory structure really easy. Documentation can be found on the website.

esprima-walk - Walk the primary nodes of an esprima parse tree - fast

  •    Javascript

A very fast esprima AST node walker with no dependencies. To naïvely traverse the AST object with callbacks and without knowing its structure will result in an exponential explosion of function calls and could take several seconds for a single parsed file of a thousand or so lines.

jsonQ - A JavaScript library to make manipulation and extraction of data from a JSON very easy and fast

  •    Javascript

jsonQ is a light weight and feature-rich javascript library to make your world around JSON fast and easy. For a JSON, it makes traversing (you don’t need to make loop inside loop), extracting data and manipulating it very simple. It also provide some utilty methods , we need while working with JSON which directly works with a JSON .

estraverse-fb - Drop-in for estraverse that enables traversal over React's JSX nodes.

  •    Javascript

Drop-in for estraverse that enables traversal over React's JSX and Flow nodes using monkey-patching technique.

when-traverse - Asynchronously traverse tree of mixed promises and values

  •    Javascript

Consider this function as Promise.map + Promise.all for trees. Often enough, we have tree structures, and when we want to transform them asynchronously, we have no other options but use sync variants of functions or write ugly hacks by collecting arrays of inner promises, handling them with Promise.all, collecting new promises (if there are), waiting for them with Promise.all again and do a lot of other silly stuff.

tree-walk - A JavaScript library for traversing, inspecting, and transforming arbitrary tree structures

  •    Javascript

tree-walk is a JavaScript library providing useful functions for traversing, inspecting, and transforming arbitrary tree structures. It's based on the walk module that I wrote for Underscore-contrib. A preorder traversal visits the nodes in the tree in a top-down fashion: first the root node is visited, then all of its child nodes are recursively visited. postorder does the opposite, calling the visitor function for a node only after visiting all of its child nodes.