JSPM

Found 221 results for literal

common-tags

a few common utility template tags for ES2015

  • v1.8.2
  • 103.54
  • Published

groq

Tagged template literal for Sanity.io GROQ-queries

  • v4.6.1
  • 75.09
  • 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.79
  • Published

smpltmpl

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

  • v1.0.2
  • 67.26
  • Published

fake-tag

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

  • v5.0.0
  • 66.65
  • Published

pg-sql2

Generate safe Postgres-compliant SQL with tagged template literals

  • v4.14.1
  • 65.55
  • Published

nlcst-is-literal

nlcst utility to check whether a node is meant literally

  • v3.0.0
  • 65.10
  • Published

ts-enum-util

TypeScript Enum Utilities

  • v4.1.0
  • 64.96
  • 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
  • 64.26
  • 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.76
  • Published

es6-template-strings

Compile and resolve template strings notation as specified in ES6

  • v2.0.1
  • 62.81
  • Published

parse-literals

Parse template literals from code

  • v1.2.1
  • 60.17
  • Published

plain-tag

A noop/plain JS template literal tag

  • v0.1.3
  • 59.82
  • 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
  • 59.22
  • Published

esformatter-literal-notation

esformatter plugin that converts array and object constructors to literal notations

  • v1.0.1
  • 58.46
  • Published

rdf-literal

Translates between RDF literals and JavaScript primitives

  • v2.0.0
  • 56.87
  • Published

heredoc

multiline strings for javascript

  • v1.3.1
  • 56.17
  • 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
  • 54.18
  • Published

url-escape-tag

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

  • v1.0.0
  • 54.03
  • Published

tamedevil

Build and evaluate JavaScript strings safely via tagged template literals

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

isobj

Test if something is an object literal

  • v1.0.0
  • 52.80
  • Published

esformatter-dot-notation

esformatter plugin for transforming object bracket usage to dot notation

  • v1.3.1
  • 50.30
  • Published

proper-tags

A few common utility template tags for ES2015

  • v2.0.2
  • 48.25
  • Published

safe-string-literal

Escapes and Unescapes strings into safe literals.

  • v1.0.5
  • 48.09
  • Published

async-tag

Resolves template literals tag values before applying a generic tag

  • v0.2.0
  • 47.03
  • Published

gnirts

Obfuscate string literals in JavaScript code.

  • v1.1.8
  • 40.10
  • Published

@literals/parser

Parse template literals from code

  • v2.0.1
  • 37.70
  • Published

@rbardini/html

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

  • v1.0.1
  • 36.59
  • Published

gnirts-loader

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

  • v1.0.8
  • 34.72
  • Published

esbuild-plugin-lit

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

  • v0.1.1
  • 33.88
  • Published

solid-html

A package for using SolidJS with tagged template literals.

  • v1.7.5
  • 33.77
  • Published

syntax

Unobtrusive Syntax Highlighting

  • v1.6.3
  • 30.49
  • 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.12
  • Published

multili

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

  • v1.1.0
  • 29.81
  • Published

reuse-template-tag

Define Reusable String Templates within your code

  • v1.0.0
  • 29.67
  • 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.63
  • Published

yaml-template

Yaml tagged template literal

    • v1.0.0
    • 29.31
    • Published

    babel-plugin-html-tag

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

    • v2.0.1
    • 26.95
    • Published

    tag-mjml

    Tagged template string function that converts MJML to HTML string

    • v1.0.7
    • 26.80
    • Published

    @foxxmd/regex-buddy-core

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

    • v0.1.2
    • 25.95
    • Published

    sqlite-tag

    Template literal tag based sqlite3 queries

      • v1.3.2
      • 25.47
      • Published

      @js-bits/enumerate

      Easy to use, Symbol-based enum implementation

      • v1.0.20
      • 25.40
      • Published

      soit

      Create a type guard from a list of literals.

      • v2.1.0
      • 25.40
      • Published

      presang

      Jamstack static site generator web application framework

      • v0.20.1
      • 24.80
      • Published

      barva

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

      • v1.2.0
      • 24.72
      • Published

      sec-literal

      Package created to analyze JavaScript literals

      • v1.2.0
      • 24.48
      • Published

      html-literal

      Tagged template literal for authoring HTML in JavaScript

      • v1.1.0
      • 24.11
      • Published

      numric

      Check if value contains all numeric literals.

      • v0.20.0
      • 22.71
      • Published

      odata4-literal

      OData V4 Literal conversion utility

        • v0.1.1
        • 21.66
        • Published

        cahir

        flexible interface for method chaining using Proxy and tagged template literals

          • v0.0.10
          • 21.54
          • Published

          json-literal-typer

          generates literal typescript iterfaces from JSON

          • v0.1.1
          • 21.36
          • Published

          backtick

          template literal based template engine

          • v0.3.2
          • 21.13
          • Published

          virst

          various asynchronous signal based html first client side library

          • v0.17.2
          • 20.09
          • Published

          component-literal

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

          • v1.5.3
          • 19.37
          • Published

          @ignis-web/server-component

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

          • v1.0.18
          • 19.33
          • Published

          as-html

          HTML templating with es6 quasi literals.

          • v2.0.1
          • 19.33
          • Published

          waveorb

          Waveorb Javascript web app development framework

          • v1.2.0
          • 19.03
          • 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.34
          • Published

          is-object-literal

          Validates a given value is a literal Object

          • v1.0.1
          • 18.23
          • Published

          ragtag

          Minimal templating using ES6 tagged template literals.

          • v0.0.8
          • 17.26
          • Published

          html-template-cleaner

          Cleaner which removes whitespace between HTML tags in template strings

            • v1.0.0
            • 16.94
            • 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
            • 16.44
            • 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
            • 16.24
            • Published

            apply-html

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

            • v2.0.1
            • 16.17
            • Published

            cjkspace

            Add space between CJK character and western character

              • v0.0.6
              • 15.99
              • Published

              is-schema-valid

              Checks if object literal has the correct schema

              • v0.2.0
              • 15.34
              • Published

              object-manip

              Uses a transform object to create a new object

              • v1.2.4
              • 15.17
              • Published

              literal-toolkit

              A toolkit to parse and generate JavaScript style literals.

              • v1.3.1
              • 15.15
              • Published

              frogment

              Frogment a tool for build literal templates from fragments

              • v1.0.5
              • 15.12
              • Published

              fmt-tag

              Format template literals

              • v1.1.1
              • 15.05
              • Published

              gulp-gnirts

              Obfuscate string literals in JavaScript code.

              • v1.0.7
              • 14.93
              • Published

              @daaku/shtl

              Template Literals for Shell Commands.

              • v0.2.0
              • 14.82
              • Published

              qqtag

              quasi quote library for javascript template literals

              • v1.2.1
              • 13.95
              • Published

              ts-string-visitor

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

              • v3.0.1
              • 13.81
              • Published

              template-templates

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

              • v1.0.1
              • 13.16
              • Published

              comprehensive

              Python-inspired object (dictionary) comprehension in JavaScript

              • v1.0.0
              • 13.02
              • 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.94
              • Published

              @amundsan/literal-engine

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

              • v0.10.7
              • 12.81
              • Published

              minify-html-parts

              Minify HTML in (tagged) template expressions

              • v0.1.0
              • 12.60
              • Published

              @zerodep/types

              A collection of Typescript literal union types

              • v2.1.8
              • 12.57
              • Published

              json-literal-parse

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

              • v0.0.0
              • 12.30
              • Published

              type-guard-pro

              Zero-dependency TypeScript runtime type validation with full type inference

              • v1.0.1
              • 11.76
              • Published

              chalk-stencil

              Tagged template literal for stylish outputs

              • v1.0.0
              • 11.57
              • Published

              string-template-format-uri

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

              • v0.1.7
              • 10.47
              • Published

              node-oauth-error

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

              • v0.0.7
              • 10.37
              • Published

              tag-markdown

              Tagged template string function that converts Markdown to HTML string

              • v1.1.1
              • 10.03
              • Published

              http-tag

              Simplified Writing Of HTTP Message Text

              • v2.0.0
              • 10.03
              • Published

              backplate

              > backtick templates

              • v2.0.1
              • 9.93
              • Published

              @civicnet/strop

              Simple tagged template literals (strings)

              • v1.0.2
              • 9.73
              • 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
              • 9.10
              • Published

              @m5nv/stl

              SQL function tagged template literal library

              • v1.2.5
              • 8.65
              • Published

              typed-json-parse

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

              • v0.1.1
              • 8.65
              • Published

              tagol

              Another logger using template literals for nodejs and browsers

              • v1.0.0
              • 8.40
              • Published

              literal-as-enum

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

              • v1.0.1
              • 8.34
              • Published

              templit

              skinny server-side rendering engine powered by template literal strings

              • v1.0.4
              • 8.34
              • 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
              • 7.97
              • Published

              @loilo/rx

              A template tag for creating regular expressions

              • v3.0.0
              • 7.84
              • 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
              • 7.76
              • Published

              cn-number

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

              • v1.0.1
              • 7.68
              • Published

              slonjs

              Simple Lightweight Object Notation

              • v0.2.2
              • 7.51
              • Published

              twz

              Magic templates

              • v1.1.0
              • 7.51
              • 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
              • 7.09
              • Published

              literal-map

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

              • v0.2.4
              • 7.09
              • Published

              commentless-tag

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

                • v1.0.3
                • 7.01
                • Published

                simple-html-tag

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

                • v2.0.0
                • 6.97
                • Published

                required-template

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

                • v1.0.2
                • 6.97
                • Published

                jsts-engine

                JavaScript Template Strings as Files

                • v0.1.0
                • 6.94
                • Published

                pg-lit

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

                • v0.3.0
                • 6.64
                • Published

                grunt-gnirts

                Obfuscate string literals in JavaScript code.

                • v1.0.7
                • 6.59
                • 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
                • 6.21
                • Published

                on-event

                Simpler in-line event delegation for html templates.

                • v0.1.2
                • 6.21
                • Published

                intellipath

                IntelliSense-like autocompletion features for string literals in TypeScript

                • v0.0.1
                • 6.15
                • Published

                fn-obj-literal

                Function-Object Literal Macro for Sweet.js

                • v1.1.0
                • 6.11
                • Published

                polyglot-tag

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

                • v0.0.3
                • 6.11
                • Published

                stylit

                "Dynamic CSSStyleSheets constructed in browser using JavaScript template literals"

                • v0.3.0
                • 6.11
                • Published

                remark-definition

                remark plugin to convert text to link by global config.

                • v2.0.3
                • 6.09
                • Published

                jsonlit

                Template literal tag function that JSON.stringify(expressions)

                • v1.0.3
                • 5.54
                • Published

                template-clean

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

                • v0.2.2
                • 5.27
                • Published

                marli

                markdown tagged template literal renderer

                • v2.0.0
                • 5.18
                • Published

                fakeplate

                Convert a string into a unique template Array like object

                • v0.1.0
                • 5.18
                • Published

                maudite

                streaming templates using template literals

                • v1.3.0
                • 5.18
                • Published

                @roziscoding/format

                Small formatting library based on a tagged template literal

                • v2.0.1
                • 5.10
                • Published

                lighteral

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

                  • v1.0.2
                  • 5.10
                  • Published

                  unenki

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

                  • v1.0.2
                  • 5.08
                  • Published

                  mltl

                  Multi-line template literals

                    • v1.0.0
                    • 5.08
                    • Published

                    literal

                    JavaScript utility library for handling literals.

                    • v0.0.1
                    • 5.08
                    • Published

                    html-fns

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

                    • v1.4.0
                    • 4.20
                    • 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
                    • 4.20
                    • Published

                    clock-reader

                    A lightweight flexible high-performance time formatting tool.

                    • v1.0.2
                    • 3.98
                    • Published

                    npm-literal-joiner

                    simple code to join literal json object as array

                    • v1.0.4
                    • 3.98
                    • Published

                    guarded-string

                    Prevent accidentally introducing XSS holes with the strings in your app

                    • v1.0.0
                    • 3.98
                    • Published

                    lit-mustache

                    Code Mustache Templates literal

                    • v0.0.0-pre0
                    • 3.92
                    • Published

                    @mmis1000/lit-jsx

                    a jsx parser written with tagged template

                    • v1.0.4
                    • 3.88
                    • Published

                    regexmoji

                    A tiny utility for writing easy to read regexps

                    • v1.0.0
                    • 3.86
                    • Published

                    js-string-escape-cli

                    Escape strings for use as JavaScript string literals from command line

                    • v1.0.0
                    • 3.86
                    • Published

                    stlhs

                    string template literal html stringify

                    • v1.0.0
                    • 3.84
                    • Published

                    nsliteral

                    nsliteral =========

                    • v1.0.0
                    • 3.84
                    • Published

                    @tagged/format

                    Small formatting library based on a tagged template literal

                    • v1.0.1
                    • 2.43
                    • Published

                    raynos-min-html

                    Minify HTML template literal strings

                    • v2.0.0-svg
                    • 2.29
                    • 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
                    • 2.29
                    • Published

                    dyn-template

                    Dynamic Template string

                    • v1.0.0
                    • 2.29
                    • Published

                    litr

                    Evaluate javascript literals

                    • v0.0.1
                    • 2.27
                    • Published

                    set-js-object

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

                    • v1.0.2
                    • 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

                    literal-switch

                    Use literal object like switch function

                    • v1.0.2
                    • 2.26
                    • Published

                    detemplate

                    Parse string by template.

                    • v0.0.1
                    • 2.25
                    • Published

                    @codeloop/conf

                    Simple config handling for app or module

                      • v0.1.12
                      • 2.25
                      • Published

                      allreq

                      Declarative conditional template literal string type

                      • v0.1.0
                      • 2.25
                      • 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

                        pg-tag

                        A tiny utility to safely query pg via template literals.

                          • v2.2.0
                          • 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

                          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

                          remark-text-link

                          remark plugin to convert text to link by global config.

                          • v0.1.0
                          • 0.00
                          • Published