Displaying 1 to 13 from 13 results

parse5 - HTML parsing/serialization toolset for Node

  •    Javascript

HTML parsing/serialization toolset for Node.js. WHATWG HTML Living Standard (aka HTML5)-compliant.parse5 provides nearly everything you may need when dealing with HTML. It's the fastest spec-compliant HTML parser for Node to date. It parses HTML the way the latest version of your browser does. It has proven itself reliable in such projects as jsdom, Angular2, Polymer and many more.

glsl-100-to-300 - transpiles GLSL tokens from v100 to v300 es

  •    Javascript

Transpile GLSL source tokens from version "100" (WebGL1) to "300 es" (WebGL2).The resulting WebGL2 shader.

c-tokenizer - tokenize c/c++ source code

  •    Javascript

Return a new tokenize through stream with C/C++ syntax rules loaded into it.Each parsed token will fire the cb(src, token) callback.

html-tokenize - transform stream to tokenize html

  •    Javascript

The input stream maps completely onto the buffers from the object stream.cdata, comments, and scripts all use 'open' with their contents appearing in subsequent 'text' rows.




json-lexer - Split a JSON String into annotated tokens

  •    Javascript

This is a JSON lexer based on the implementation in json3. It can split a JSON String into a list of annotated tokens. It will list whitespace as well, so it can used in-place editing of JSON documents. Note that this doesn't check the validity of your JSON, so it will tokenize something like "token"}: happily.

parsers-compilers - Lexers, tokenizers, parsers, compilers, renderers, stringifiers

  •    

Returns: Token stream. A token stream is an array of "tokens", where each "token" is an object that contain details about a specific substring that was "captured", such as column and row, or line number and character position.

extract-comments - Extract JavaScript code comments from a string or glob of files.

  •    Javascript

Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment). Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

html-tree - transform stream to parse html into parse-trees

  •    Javascript

transform stream to parse html into parse-trees. Top-level text nodes are not allowed.


html-tokenizer - HTML tokenizer. Works in node or browsers.

  •    HTML

A small, super-fast, event-driven, fault-tolerant, html tag-soup tokenizer that works in node but which is mainly intended as a lightweight client-side parser for small HTML snippets. You pass it a string which is supposed to contain HTML, and it emits events telling you what things it finds. A tokenizer emits events such as "here's an attribute" or "here's an opening tag," however these won't necessarily reflect the structure of well-formed HTML document. For example <foo <foo will produce two opening-tag events in a row. If that bothers you, then what you probably want is a parser, not a tokenizer, so keep scrolling down.

Tokenize2 - Tokenize2 is a plugin which allows your users to select multiple items from a predefined list or ajax, using autocompletion as they type to find each item

  •    Javascript

Tokenize2 is a plugin which allows your users to select multiple items from a predefined list or ajax, using autocompletion as they type to find each item. You may have seen a similar type of text entry when filling in the recipients field sending messages on facebook or tags on tumblr. The documentation for Tokenize2 is available through GitHub Pages.

graphql-tokenizer - Tokenize a graphql schema

  •    Javascript

Tokenize a graphql schema. Tokenize a graphQL string.

js-tokens - A regex that tokenizes JavaScript.

  •    Javascript

A regex that tokenizes JavaScript. A regex with the g flag that matches JavaScript tokens.

tokenize-comment - Uses snapdragon to tokenize a single JavaScript block comment into an object, with description, tags, and code example sections that can be passed to any other comment parsers for further parsing

  •    Javascript

Uses snapdragon to tokenize a single JavaScript block comment into an object, with description, tags, and code example sections that can be passed to any other comment parsers for further parsing. To be clear, I'm not picking on doctrine, it's one of the better parsers (and I'm using it to parse the tags returned by tokenize-comment).