JSPM

Found 220 results for literal

common-tags

a few common utility template tags for ES2015

  • v1.8.2
  • 101.74
  • Published

groq

Tagged template literal for Sanity.io GROQ-queries

  • v4.6.0
  • 73.80
  • Published

stream-template

An ES6 Tagged String Literal tag that can interpolate Node.JS streams, strings, arrays and Promises and produces a stream.,

  • v0.0.10
  • 67.10
  • Published

smpltmpl

Simple templates for Node.js based on ECMAScript template literals syntax

  • v1.0.2
  • 66.22
  • Published

fake-tag

A fake template literal tag to trick syntax highlighters, linters and formatters into action.

  • v5.0.0
  • 65.31
  • Published

nlcst-is-literal

nlcst utility to check whether a node is meant literally

  • v3.0.0
  • 64.63
  • Published

pg-sql2

Generate safe Postgres-compliant SQL with tagged template literals

  • v4.14.1
  • 64.04
  • Published

ts-enum-util

TypeScript Enum Utilities

  • v4.1.0
  • 63.65
  • Published

montag

format multiline strings using tagged templates, instead of puting all lines into an array and joining to a string

  • v1.2.1
  • 63.41
  • Published

eslint-plugin-better-tailwindcss

auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.

  • v3.7.6
  • 63.05
  • Published

es6-template-strings

Compile and resolve template strings notation as specified in ES6

  • v2.0.1
  • 62.80
  • Published

parse-literals

Parse template literals from code

  • v1.2.1
  • 60.55
  • Published

plain-tag

A noop/plain JS template literal tag

  • v0.1.3
  • 59.83
  • Published

@stdlib/number-float32-base-to-word

Return an unsigned 32-bit integer corresponding to the IEEE 754 binary representation of a single-precision floating-point number.

  • v0.2.2
  • 58.60
  • Published

esformatter-literal-notation

esformatter plugin that converts array and object constructors to literal notations

  • v1.0.1
  • 58.56
  • Published

heredoc

multiline strings for javascript

  • v1.3.1
  • 56.33
  • Published

rdf-literal

Translates between RDF literals and JavaScript primitives

  • v2.0.0
  • 56.29
  • Published

@spacingbat3/lss

LSS: Literal String Sanitizer – sanitizes string based on specific inputs and tries to guess the accurate type (in TypeScript/Typed JS).

  • v1.2.0
  • 53.58
  • Published

tamedevil

Build and evaluate JavaScript strings safely via tagged template literals

  • v0.0.0-beta.8
  • 53.52
  • Published

url-escape-tag

A template tag for escaping url parameters based on ES2015 tagged templates.

  • v1.0.0
  • 53.10
  • Published

isobj

Test if something is an object literal

  • v1.0.0
  • 52.31
  • Published

esformatter-dot-notation

esformatter plugin for transforming object bracket usage to dot notation

  • v1.3.1
  • 49.53
  • Published

proper-tags

A few common utility template tags for ES2015

  • v2.0.2
  • 47.81
  • Published

safe-string-literal

Escapes and Unescapes strings into safe literals.

  • v1.0.5
  • 47.76
  • Published

async-tag

Resolves template literals tag values before applying a generic tag

  • v0.2.0
  • 47.19
  • Published

sql-tagged-template-literal

ES6 SQL-escaping tagged template literal that spits out a sanitized SQL string

  • v1.3.0
  • 41.74
  • Published

gnirts

Obfuscate string literals in JavaScript code.

  • v1.1.8
  • 40.26
  • Published

@literals/parser

Parse template literals from code

  • v2.0.1
  • 36.67
  • Published

gnirts-loader

gnirts loader module for webpack - Obfuscate string literals in JavaScript code.

  • v1.0.8
  • 34.99
  • Published

@rbardini/html

Tiny html tag function for no-build JSX-like syntax, compatible with all modern browsers and runtimes.

  • v1.0.1
  • 34.63
  • Published

esbuild-plugin-lit

Import CSS, SVG, HTML, XLIFF files as tagged-template literals. Optionally minify with esbuild minifier.

  • v0.1.1
  • 33.51
  • Published

extend-with-super

Extend object literals with function properties to have a _super method that references the original function, instead of overwriting it. (No dependencies, but borrowed methods from underscore.js.)

  • v2.0.0
  • 30.00
  • Published

syntax

Unobtrusive Syntax Highlighting

  • v1.6.3
  • 29.95
  • Published

@stdlib/number-float32-base-from-word

Create a single-precision floating-point number from an unsigned integer corresponding to an IEEE 754 binary representation.

  • v0.2.2
  • 29.89
  • Published

yaml-template

Yaml tagged template literal

    • v1.0.0
    • 29.57
    • Published

    multili

    Function to remove indentation in multi-lines template literals (string) based on the indented line.

    • v1.1.0
    • 28.73
    • Published

    sec-literal

    Package created to analyze JavaScript literals

    • v1.2.0
    • 27.82
    • Published

    reuse-template-tag

    Define Reusable String Templates within your code

    • v1.0.0
    • 27.33
    • Published

    tag-mjml

    Tagged template string function that converts MJML to HTML string

    • v1.0.7
    • 27.19
    • Published

    babel-plugin-html-tag

    Statically evaluates and minify tagged html`<..>` template literals into strings

    • v2.0.1
    • 26.94
    • Published

    @foxxmd/regex-buddy-core

    Helper functions for handling Regular Expressions and parsing user input as Regular Expressions

    • v0.1.2
    • 25.37
    • Published

    sqlite-tag

    Template literal tag based sqlite3 queries

      • v1.3.2
      • 24.77
      • Published

      barva

      A lightweight, tree-shakable library for terminal colors using tagged template literals

      • v1.2.0
      • 24.55
      • Published

      cahir

      flexible interface for method chaining using Proxy and tagged template literals

        • v0.0.10
        • 24.52
        • Published

        backtick

        template literal based template engine

        • v0.3.2
        • 24.27
        • Published

        soit

        Create a type guard from a list of literals.

        • v2.1.0
        • 24.15
        • Published

        html-literal

        Tagged template literal for authoring HTML in JavaScript

        • v1.1.0
        • 23.46
        • Published

        conditional-tag

        Clean, easily readable conditional statements in template literals/strings for Node.js and browsers. Provides `if` / `elseif` / `else` and `switch` / `case` / `default` syntax options.

        • v1.2.3
        • 23.16
        • Published

        frogment

        Frogment a tool for build literal templates from fragments

        • v1.0.5
        • 22.99
        • Published

        odata4-literal

        OData V4 Literal conversion utility

          • v0.1.1
          • 20.53
          • Published

          fmt-tag

          Format template literals

          • v1.1.1
          • 19.67
          • Published

          json-literal-typer

          generates literal typescript iterfaces from JSON

          • v0.1.1
          • 19.62
          • Published

          component-literal

          A reactive, flexible, and dead simple way to create DOM components with template literals.

          • v1.5.3
          • 19.24
          • Published

          waveorb

          Waveorb Javascript web app development framework

          • v1.2.0
          • 19.08
          • Published

          as-html

          HTML templating with es6 quasi literals.

          • v2.0.1
          • 18.91
          • Published

          @js-bits/enumerate

          Easy to use, Symbol-based enum implementation

          • v1.0.20
          • 18.84
          • Published

          numric

          Check if value contains all numeric literals.

          • v0.20.0
          • 18.41
          • Published

          pegase

          An inline, fast, powerful and lightweight PEG parser generator for JavaScript and TypeScript, with semantic actions, parametrized rules, support for native regexps, error recovery, warnings, integrated AST generation and visitors, cut operator, back refer

          • v0.6.3
          • 18.06
          • Published

          is-object-literal

          Validates a given value is a literal Object

          • v1.0.1
          • 17.85
          • Published

          virst

          various asynchronous signal based html first client side library

          • v0.17.2
          • 17.60
          • Published

          @ignis-web/server-component

          A minimalistic framework for creating reusable and encapsulated view components on server side.

          • v1.0.18
          • 17.27
          • Published

          ragtag

          Minimal templating using ES6 tagged template literals.

          • v0.0.8
          • 17.01
          • Published

          html-template-cleaner

          Cleaner which removes whitespace between HTML tags in template strings

            • v1.0.0
            • 17.00
            • Published

            gulp-gnirts

            Obfuscate string literals in JavaScript code.

            • v1.0.7
            • 16.85
            • Published

            @daaku/shtl

            Template Literals for Shell Commands.

            • v0.2.0
            • 14.72
            • Published

            literal-toolkit

            A toolkit to parse and generate JavaScript style literals.

            • v1.3.1
            • 13.70
            • Published

            object-manip

            Uses a transform object to create a new object

            • v1.2.4
            • 13.63
            • Published

            cjkspace

            Add space between CJK character and western character

              • v0.0.6
              • 13.51
              • Published

              jilto

              A versatile and efficient JavaScript library for creating isomorphic HTML templates using concise literal syntax. Jilto seamlessly bridges server-side and client-side rendering, enabling developers to write clean, maintainable code for dynamic web applica

              • v2.0.6
              • 12.85
              • Published

              template-templates

              Use incredibly efficient and stupidly-tiny functions to parse plain template-strings.

              • v1.0.1
              • 12.63
              • Published

              minify-html-parts

              Minify HTML in (tagged) template expressions

              • v0.1.0
              • 11.67
              • Published

              chalk-stencil

              Tagged template literal for stylish outputs

              • v1.0.0
              • 11.39
              • Published

              @zerodep/types

              A collection of Typescript literal union types

              • v2.1.8
              • 11.24
              • Published

              node-oauth-error

              Convert oauth object-literal errors into actual Error() objects.

              • v0.0.7
              • 10.71
              • Published

              type-guard-pro

              Zero-dependency TypeScript runtime type validation with full type inference

              • v1.0.1
              • 10.62
              • Published

              qqtag

              quasi quote library for javascript template literals

              • v1.2.1
              • 10.23
              • Published

              json-literal-parse

              superset of JSON.parse() adding regex, null, and octal literals

              • v0.0.0
              • 10.18
              • Published

              cn-number

              Convert integers or serial numbers to Chinese numerals. Supports `capital` and `traditional` forms

              • v1.0.1
              • 9.86
              • Published

              tagol

              Another logger using template literals for nodejs and browsers

              • v1.0.0
              • 9.66
              • Published

              literal-as-enum

              Converts string constants into string literal type and provides handy utility functions.

              • v1.0.1
              • 9.38
              • Published

              @amundsan/literal-engine

              Node template engine based on template literals, with no dependencies.

              • v0.10.7
              • 9.34
              • Published

              @m5nv/stl

              SQL function tagged template literal library

              • v1.2.5
              • 9.15
              • Published

              @civicnet/strop

              Simple tagged template literals (strings)

              • v1.0.2
              • 9.03
              • Published

              is-schema-valid

              Checks if object literal has the correct schema

              • v0.2.0
              • 9.03
              • Published

              http-tag

              Simplified Writing Of HTTP Message Text

              • v2.0.0
              • 8.44
              • Published

              templit

              skinny server-side rendering engine powered by template literal strings

              • v1.0.4
              • 8.28
              • Published

              typed-json-parse

              A JSON parser built in TS Types to statically type JSON.parse() output, for reasons

              • v0.1.1
              • 7.88
              • Published

              @loilo/rx

              A template tag for creating regular expressions

              • v3.0.0
              • 7.87
              • Published

              apply-html

              It's `.innerHTML = ''` for the 21st century.

              • v2.0.1
              • 7.63
              • Published

              slonjs

              Simple Lightweight Object Notation

              • v0.2.2
              • 7.40
              • Published

              clock-reader

              A lightweight flexible high-performance time formatting tool.

              • v1.0.2
              • 7.12
              • Published

              comprehensive

              Python-inspired object (dictionary) comprehension in JavaScript

              • v1.0.0
              • 7.11
              • Published

              literal-map

              A Map that acts like an object literal to better reflect Python dictionaries in JS

              • v0.2.4
              • 7.11
              • Published

              simple-html-tag

              A simple and fast tag function for safe html es6 literals.

              • v2.0.0
              • 6.86
              • Published

              jsonlit

              Template literal tag function that JSON.stringify(expressions)

              • v1.0.3
              • 6.60
              • Published

              html-fns

              Set of convinient pure functions to generate HTML on server-side via tagged template literals.

              • v1.4.0
              • 6.59
              • Published

              presang

              Jamstack static site generator web application framework

              • v0.20.1
              • 6.49
              • Published

              math-float32-to-word

              Returns an unsigned 32-bit integer corresponding to the IEEE 754 binary representation of a single-precision floating-point number.

              • v1.0.0
              • 6.24
              • Published

              template-clean

              Template literal tag function to replace null and undefined values with an empty string

              • v0.2.2
              • 6.24
              • Published

              tag-markdown

              Tagged template string function that converts Markdown to HTML string

              • v1.1.1
              • 6.16
              • Published

              pluralize-literals

              [![release](https://github.com/itaywol/PluralizeLiterals/actions/workflows/release.yaml/badge.svg?branch=main)](https://github.com/itaywol/PluralizeLiterals/actions/workflows/release.yaml) [![npm](https://img.shields.io/npm/v/pluralize-literals)](https://

              • v1.0.5
              • 6.16
              • Published

              jsts-engine

              JavaScript Template Strings as Files

              • v0.1.0
              • 6.05
              • Published

              literal

              JavaScript utility library for handling literals.

              • v0.0.1
              • 6.05
              • Published

              remark-definition

              remark plugin to convert text to link by global config.

              • v2.0.3
              • 6.05
              • Published

              @ungap/plugin-transform-static-jsx

              This plugin is [a follow up of this post](https://webreflection.medium.com/bringing-jsx-to-template-literals-1fdfd0901540) and it can be used together with [@babel/plugin-transform-react-jsx](https://www.npmjs.com/package/@babel/plugin-transform-react-jsx

              • v0.2.0
              • 5.50
              • Published

              grunt-gnirts

              Obfuscate string literals in JavaScript code.

              • v1.0.7
              • 5.41
              • Published

              rollup-plugin-minify-html-literals-cjs-rollup3

              Rollup plugin to minify HTML template literal strings. Forked so that it uses the rollup3 compatible code, but not the ESM version. Will archive when Liz does her release...

              • v1.0.0
              • 5.20
              • Published

              on-event

              Simpler in-line event delegation for html templates.

              • v0.1.2
              • 5.20
              • Published

              marli

              markdown tagged template literal renderer

              • v2.0.0
              • 5.20
              • Published

              ts-string-visitor

              Generic TypeScript Visitor and Mapper for String Enums and String Literal Union Types

              • v3.0.1
              • 5.20
              • Published

              string-template-format-uri

              String template literal tag that converts string into valid URI/URL components

              • v0.1.7
              • 5.14
              • Published

              mltl

              Multi-line template literals

                • v1.0.0
                • 5.04
                • Published

                literal-switch

                Use literal object like switch function

                • v1.0.2
                • 5.02
                • Published

                stylit

                "Dynamic CSSStyleSheets constructed in browser using JavaScript template literals"

                • v0.3.0
                • 5.02
                • Published

                pg-lit

                A tagged template literal interface for `node-postgres`.

                • v0.3.0
                • 4.16
                • Published

                nice-comment

                [![test](https://github.com/kiprasmel/nice-comment/actions/workflows/test.yml/badge.svg)](https://github.com/kiprasmel/nice-comment/actions/workflows/test.yml)

                • v0.12.2
                • 4.09
                • Published

                npm-literal-joiner

                simple code to join literal json object as array

                • v1.0.4
                • 3.94
                • Published

                pipe-tag

                Easily create a streaming pipeline of child processes using a tagged template literal, and mixin string processing in Javascript.

                • v0.0.3
                • 3.93
                • Published

                math-float32-from-word

                Creates a single-precision floating-point number from an unsigned integer corresponding to an IEEE 754 binary representation.

                • v1.0.0
                • 3.93
                • Published

                intellipath

                IntelliSense-like autocompletion features for string literals in TypeScript

                • v0.0.1
                • 3.89
                • Published

                stlhs

                string template literal html stringify

                • v1.0.0
                • 3.81
                • Published

                nsliteral

                nsliteral =========

                • v1.0.0
                • 3.81
                • Published

                fn-obj-literal

                Function-Object Literal Macro for Sweet.js

                • v1.1.0
                • 3.80
                • Published

                lighteral

                This is a library which you can use to define your routes as template literals. It uses express underneath.

                  • v1.0.2
                  • 3.80
                  • Published

                  twz

                  Magic templates

                  • v1.1.0
                  • 2.39
                  • Published

                  @tagged/format

                  Small formatting library based on a tagged template literal

                  • v1.0.1
                  • 2.39
                  • Published

                  guarded-string

                  Prevent accidentally introducing XSS holes with the strings in your app

                  • v1.0.0
                  • 2.30
                  • Published

                  reggie-docs

                  This package will take a Template Literal, remove comments, and generate a RegEx-ready string or regex for use.

                  • v0.0.7
                  • 2.30
                  • Published

                  maudite

                  streaming templates using template literals

                  • v1.3.0
                  • 2.30
                  • Published

                  lit-mustache

                  Code Mustache Templates literal

                  • v0.0.0-pre0
                  • 2.30
                  • Published

                  set-js-object

                  Create a JS Object (object literal) by given a key and a value

                  • v1.0.2
                  • 2.27
                  • Published

                  @mmis1000/lit-jsx

                  a jsx parser written with tagged template

                  • v1.0.4
                  • 2.27
                  • Published

                  html-esc

                  JavaScript Template Literal Tag that converts to HTML-escaped content. Eg. `` html`<div>${myVar}</div>` ``

                  • v0.1.0
                  • 2.27
                  • Published

                  @codeloop/conf

                  Simple config handling for app or module

                    • v0.1.12
                    • 2.23
                    • Published

                    detemplate

                    Parse string by template.

                    • v0.0.1
                    • 2.23
                    • Published

                    regexmoji

                    A tiny utility for writing easy to read regexps

                    • v1.0.0
                    • 2.22
                    • Published

                    js-string-escape-cli

                    Escape strings for use as JavaScript string literals from command line

                    • v1.0.0
                    • 2.22
                    • Published

                    polyglot-tag

                    Template literal tag to embed scripts from other languages into Javascript.

                    • v0.0.3
                    • 2.22
                    • Published

                    maybe-include

                    Include a string in a template literal, if a condition is truthy

                    • v0.0.3
                    • 0.00
                    • Published

                    string-bland

                    It's like `String.raw` but without the raw bit.

                      • v0.0.0
                      • 0.00
                      • Published

                      backplate

                      > backtick templates

                      • v2.0.1
                      • 0.00
                      • Published

                      allreq

                      Declarative conditional template literal string type

                      • v0.1.0
                      • 0.00
                      • Published

                      unenki

                      🔢 Encode ANSI Escape sequences to Unicode Literal strings, Eg: \u001b to \\u001b

                      • v1.0.2
                      • 0.00
                      • Published

                      pg-tag

                      A tiny utility to safely query pg via template literals.

                        • v2.2.0
                        • 0.00
                        • Published

                        required-template

                        A tagged template literal function that throws on undefined or null values

                        • v1.0.2
                        • 0.00
                        • Published

                        @roziscoding/format

                        Small formatting library based on a tagged template literal

                        • v2.0.1
                        • 0.00
                        • Published

                        litr

                        Evaluate javascript literals

                        • v0.0.1
                        • 0.00
                        • Published

                        commentless-tag

                        Removes commented lines before passing it on to another template tag.

                          • v1.0.3
                          • 0.00
                          • Published

                          @seregpie/tag

                          Parses a template literal to a function.

                          • v1.0.0
                          • 0.00
                          • Published

                          @ryel/multiline

                          Remove leading white space from multiline strings, namely in order to keep code indented without the disadvantage of adding extra white space.

                          • v1.0.0
                          • 0.00
                          • Published

                          remark-text-link

                          remark plugin to convert text to link by global config.

                          • v0.1.0
                          • 0.00
                          • Published

                          universal-code-splitter

                          Bộ công cụ chia nhỏ các file SCSS, Vue, Class JS, và Object Literal JS

                          • v1.1.0
                          • 0.00
                          • Published

                          raynos-min-html

                          Minify HTML template literal strings

                          • v2.0.0-svg
                          • 0.00
                          • Published

                          fakeplate

                          Convert a string into a unique template Array like object

                          • v0.1.0
                          • 0.00
                          • Published

                          dyn-template

                          Dynamic Template string

                          • v1.0.0
                          • 0.00
                          • Published