JSPM

Found 221 results for literal

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