This module is similar to JSX, but provided as a standards-compliant ES6 tagged template string function. hyperx works with virtual-dom, react, hyperscript, or any DOM builder with a hyperscript-style API: h(tagName, attrs, children).
template-strings html dom virtual-dom jsx vdom react hyperscript template-string template es6HTML template strings for the Browser with support for Server Side Rendering in Node. By default all content inside template strings is escaped. This is great for strings, but not ideal if you want to insert HTML that's been returned from another function (for example: a markdown renderer). Use nanohtml/raw for to interpolate HTML directly.
dom element frontend template-string html-templateAn ES6 string tag that strips indentation from multi-line strings.
dedent es6 template-string es2015 tag multi-line-stringSome html attributes have different JavaScript property names. The most annoying of these is class v.s. className.Works with virtual-dom, react, hyperscript, or any DOM builder with a hyperscript-style API: h(tagName, attrs, children).
es6 template template-string hyperscript react vdom virtual-dom jsxThis module exports an ES6 tagged-template function which escapes (i.e. quotes) its parameters for safe inclusion in shell commands. Parameters can be strings, arrays of strings, or nested arrays of strings, arrays and already-processed parameters. The exported function also provides two helper functions which respectively escape and preserve their parameters and protect them from further processing.
shell cli command-line es6 template-string es2015 escape interpolate interpolation quote tag tags tagged tagged-template tagged-templates template templatesES6 template strings are great, but they preserve everything between the backticks, including leading spaces. Sometimes I want to indent my template literals to make my code more readable without including all those spaces in the string. Outdent will remove those leading spaces, as well as the leading and trailing newlines.
es6 es2015 template-string template-literal interpolation string template indentEasily compose regular expressions. Doing this with strings would otherwise be tedious due to having to double-escape things. Regexr provides an ES6 template tag function that makes it easy to compose RegExps using template strings without double-escaped hell.
regexr regex regexp regexes regex-engine regex-util regular-expression hand-picked-regexes es6 template-string regexps regular-expressionsDetect which ES2015 features are available. Returns true if the class statement is available.
detect es6 feature class arrow-function let array map set generator promise template-string symbol destructuring language es2015 spread default-parameter-valueImprove the DOM creation API so developers have a cleaner, simpler interface to DOM creation and manipulation. To add an attribute only when it's value is true (such as disabled), use attrName?="${value}". If the value is true, the attribute will be added in the output, otherwise it will be omitted from the output.
html template-literals dom-creation dom-api template-string proposal dom tagged template stringVomit is a JavaScript library for building stateless user interfaces. Vomit does not force you into any syntax/API but instead uses the power of JavaScript template literals built in your browser. Quickly create DOM element that you can compose with Objects, Arrays, other DOM elements, Functions, Promises and even Streams.
virtualdom template-string es6 high-order streams virtual dom hyperscripttemplate string optimize loader module for webpack
webpack template-string optimize
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.