JSPM

Found 4982 results for code block

to-gfm-code-block

Generate a github-flavored-markdown fenced-code-block snippet.

  • v0.1.1
  • 374.48
  • Published

rehype-prism

The unified plugin used to highlight code block in html with Prism

  • v2.3.3
  • 193.58
  • Published

extract-comments

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).

  • v1.1.0
  • 173.53
  • Published

patch-text

Make multiple changes to a block of text by providing start and end indices and replacement text

  • v1.0.2
  • 173.28
  • Published

react-highlight-syntax

React Highlight Syntax is a React component that highlights syntax in a code block.

  • v1.2.1
  • 124.70
  • Published

@wdns/vue-code-block

Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js.

  • v2.3.5
  • 123.52
  • Published

gfm-code-block-regex

RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.

  • v1.0.0
  • 120.57
  • Published

nuxt-highlightjs

Highlightjs code block styling and syntax highlighting for Nuxt 2

  • v1.0.3
  • 119.80
  • Published

rebase-indent

Get indented code block

  • v1.6.1
  • 115.99
  • Published

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.

  • v3.0.1
  • 112.73
  • Published

hexo-prism-plus

Better code block highlighting using Prism with full server-side rendering supporting most Prism plugins

  • v2.2.0
  • 99.93
  • Published

hexo-shiki-plugin

A beautiful hexo code block highlight plugin based on shiki

  • v1.0.27
  • 84.74
  • Published

block-run

block run code

  • v1.0.10
  • 81.38
  • Published

react-kode

React Component of code-block in HTML with highlight.js

  • v0.0.8
  • 80.78
  • Published

esprima-extract-comments

Extract code comments from string or from a glob of files using esprima.

  • v1.1.0
  • 77.45
  • Published

lazy-unicode

Access to all 128,172 unicode characters by block in < 8kb

  • v1.0.9
  • 75.37
  • Published

is-fullwidth-code-point

Check if the character represented by a given Unicode code point is fullwidth

  • v5.0.0
  • 72.32
  • Published

@pickra/copy-code-block

A solution to display code in the browser and copy it to the clipboard

  • v1.2.0
  • 70.73
  • Published

ansi-escapes

ANSI escape codes for manipulating the terminal

  • v7.0.0
  • 70.34
  • Published

statuses

HTTP status utility

  • v2.0.1
  • 68.97
  • Published

@snipshare/code-block

Code block React component capable of executing Node.js code directly in the browser.

  • v0.1.4
  • 67.86
  • Published

babel-extract-comments

Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.

  • v1.0.0
  • 66.53
  • Published

err-code

Create an error with a code

  • v3.0.1
  • 64.13
  • Published

config-xml-js

Config.js allows developers to configure their applications in an XML block instead of hard-coding values inside their scripts. It can also be used to store HTML templates instead of hardcoding HTML into JavaScript. The XML can be embedded inside an HTML

  • v2.2.1
  • 63.84
  • Published

is-hexadecimal

Check if a character is hexadecimal

  • v2.0.1
  • 63.62
  • Published

detect-indent

Detect the indentation of code

  • v7.0.1
  • 63.55
  • Published

lint-staged

Lint files staged by git

  • v16.1.0
  • 63.51
  • Published

is-decimal

Check if a character is decimal

  • v2.0.1
  • 62.99
  • Published

is-alphabetical

Check if a character is alphabetical

  • v2.0.1
  • 62.83
  • Published

esniff

Low footprint ECMAScript source code parser

  • v2.0.1
  • 61.69
  • Published

block-code

A fully customizable, one-time password input component for the web built with React

  • v1.0.0
  • 61.54
  • Published

prismjs-terminal

PrismaJS syntax highlighting for the terminal

  • v1.2.3
  • 61.43
  • Published

@graphql-codegen/core

<p align="center"> <img src="https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true" /> </p>

  • v4.0.2
  • 59.52
  • Published

qrcode

QRCode / 2d Barcode api with both server side and client side support using canvas

  • v1.5.4
  • 58.86
  • Published

@scure/bip39

Secure, audited & minimal implementation of BIP39 mnemonic phrases

  • v1.6.0
  • 58.76
  • Published

generate-function

Module that helps you write generated functions in Node

  • v2.3.1
  • 58.62
  • Published

refractor

Lightweight, robust, elegant virtual syntax highlighting using Prism

  • v5.0.0
  • 58.56
  • Published

lowlight

Virtual syntax highlighting for virtual DOMs and non-HTML things

  • v3.3.0
  • 58.49
  • Published

@graphql-codegen/cli

<p align="center"> <img src="https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true" /> </p>

  • v5.0.6
  • 58.09
  • Published

@codemirror/view

DOM view component for the CodeMirror code editor

  • v6.36.8
  • 58.05
  • Published

@codemirror/state

Editor state data structures for the CodeMirror code editor

  • v6.5.2
  • 57.91
  • Published

codemirror

Basic configuration for the CodeMirror code editor

  • v6.0.1
  • 57.90
  • Published

javascript-stringify

Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`

  • v2.1.0
  • 57.77
  • Published

@scure/bip32

Secure, audited & minimal implementation of BIP32 hierarchical deterministic (HD) wallets over secp256k1

  • v1.7.0
  • 57.71
  • Published

gist-simple

JS for Gist code block loading

  • v2.1.0
  • 57.57
  • Published

is-word-character

Check if a character is a word character

  • v2.0.1
  • 57.06
  • Published

@codemirror/lint

Linting support for the CodeMirror code editor

  • v6.8.5
  • 56.84
  • Published

@codemirror/language

Language support infrastructure for the CodeMirror code editor

  • v6.11.0
  • 56.65
  • Published

@codemirror/commands

Collection of editing commands for the CodeMirror code editor

  • v6.8.1
  • 56.59
  • Published

parse-bmfont-ascii

parses ASCII BMFont files to a JavaScript object

  • v1.0.6
  • 56.35
  • Published

browserify-strip-code

Removes code between comment blocks: /* start-test-block */code.../* end-test-block */

    • v1.0.3
    • 56.23
    • Published

    is-redirect

    Check if a number is a redirect HTTP status code

    • v2.0.0
    • 55.96
    • Published

    parse-bmfont-xml

    parses XML BMFont files into a JavaScript object

    • v1.1.6
    • 55.70
    • Published

    safe-identifier

    Sanitize strings for use as JavaScript identifiers & property names

    • v0.4.2
    • 55.70
    • Published

    @codemirror/search

    Search functionality for the CodeMirror code editor

    • v6.5.11
    • 55.56
    • Published

    parse-bmfont-binary

    reads a BMFont binary in a Buffer into a JSON object

    • v1.0.6
    • 55.24
    • Published

    load-bmfont

    loads a BMFont file in Node and the browser

    • v1.4.2
    • 55.24
    • Published

    is-hotkey

    Check whether a browser event matches a hotkey.

    • v0.2.0
    • 55.05
    • Published

    @monaco-editor/react

    Monaco Editor for React - use the monaco-editor in any React application without needing to use webpack (or rollup/parcel/etc) configuration files / plugins

    • v4.7.0
    • 54.35
    • Published

    @codemirror/lang-css

    CSS language support for the CodeMirror code editor

    • v6.3.1
    • 53.64
    • Published

    locale-codes

    Language codes & country codes

    • v1.3.1
    • 53.25
    • Published

    @lexical/code

    This package contains the functionality for the code blocks and code highlighting for Lexical.

    • v0.31.2
    • 53.19
    • Published

    react-qr-code

    A QR code generator for React and React Native.

    • v2.0.15
    • 53.16
    • Published

    cspell

    A Spelling Checker for Code!

    • v9.0.2
    • 52.47
    • Published

    cspell-lib

    A library of useful functions used across various cspell tools.

    • v9.0.2
    • 52.22
    • Published

    standard-engine

    Wrap your standards in a tortilla and cover it in special sauce.

    • v15.1.0
    • 52.20
    • Published

    callsite-record

    Create fancy log entries for errors and function call sites.

    • v4.1.5
    • 51.65
    • Published

    get-comments

    Extract javascript comments on per character basis. Comment object compatible with `acorn-extract-comments` and Esprima format.

    • v1.0.1
    • 51.64
    • Published

    standard

    JavaScript Standard Style

    • v17.1.2
    • 51.47
    • Published

    @codemirror/legacy-modes

    Collection of ported legacy language modes for the CodeMirror code editor

    • v6.5.1
    • 51.40
    • Published

    @codemirror/lang-sql

    SQL language support for the CodeMirror code editor

    • v6.8.0
    • 50.69
    • Published

    estemplate

    Proper JavaScript code templating with source maps support.

    • v0.5.1
    • 50.66
    • Published

    currency-codes

    Lookup currency codes based on ISO 4217

    • v2.2.0
    • 50.37
    • Published

    @codemirror/lang-wast

    WebAssembly Text Format support for the CodeMirror code editor

    • v6.0.2
    • 49.06
    • Published

    extract-codefence

    A utility to extract code from codefence blocks

      • v0.0.4
      • 49.05
      • Published

      module-error

      Create errors with code and cause properties

      • v1.0.2
      • 49.00
      • Published

      @codemirror/lang-sass

      Sass/SCSS language support for the CodeMirror code editor

      • v6.0.2
      • 48.89
      • Published

      @codemirror/lang-go

      Go language support for the CodeMirror code editor

      • v6.0.1
      • 48.50
      • Published

      react-otp-input

      A fully customizable, one-time password input component for the web built with React

      • v3.1.1
      • 48.48
      • Published

      is-language-code

      Is given string a language code (as per IANA)

      • v5.0.15
      • 48.44
      • Published

      to-source-code

      Converts function to its source code.

      • v1.0.2
      • 47.76
      • Published

      string-strip-html

      Strip HTML tags from strings. No parser, accepts mixed sources.

      • v13.4.12
      • 47.62
      • Published

      react-codemirror2

      a tiny react codemirror component wrapper

      • v8.0.1
      • 47.50
      • Published

      qrcode.vue

      A Vue.js component to generate QRCode. Both support Vue 2 and Vue 3

      • v3.6.0
      • 47.48
      • Published

      is-hotkey-esm

      Check whether a browser event matches a hotkey.

      • v1.0.0
      • 46.90
      • Published

      @uiw/react-md-editor

      A markdown editor with preview, implemented with React.js and TypeScript.

      • v4.0.7
      • 46.88
      • Published

      gulp-eslint

      A gulp plugin for processing files with ESLint

      • v6.0.0
      • 46.48
      • Published

      react-shiki

      Syntax highlighter component for react using shiki

      • v0.6.0
      • 46.32
      • Published

      xo

      JavaScript/TypeScript linter (ESLint wrapper) with great defaults

      • v1.0.0
      • 46.29
      • Published

      @nx-js/compiler-util

      An NX util, responsible for executing code in the context of an object.

      • v2.0.0
      • 45.95
      • Published

      @heroui/code

      Code is a component used to display inline code.

      • v2.2.14
      • 45.70
      • Published

      jsconfig.json

      Small tool which automatically generates jsconfig.json, used for vscode workspace configuration, with defaults and paths from webpack config.

      • v2.3.3
      • 45.62
      • Published

      utf16-char-codes

      Get location of code point in a string or get code points from string

      • v2.1.0
      • 45.43
      • Published

      emphasize

      ANSI syntax highlighting for the terminal

      • v7.0.0
      • 45.42
      • Published

      ansicolor

      A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.

      • v2.0.3
      • 45.36
      • Published

      @dprint/toml

      Wasm module for dprint-plugin-toml.

      • v0.7.0
      • 45.04
      • Published

      parse-code-context

      Fast and simple way to parse code context for use with documentation from code comments. Parses context from a single line of JavaScript, for functions, variable declarations, methods, prototype properties, prototype methods etc.

      • v1.0.0
      • 44.92
      • Published

      @dprint/markdown

      Wasm module for dprint-plugin-markdown.

      • v0.18.0
      • 44.69
      • Published

      dprint

      Pluggable and configurable code formatting platform written in Rust.

      • v0.50.0
      • 44.46
      • Published

      e2b

      E2B SDK that give agents cloud environments

      • v1.5.0
      • 44.18
      • Published

      react-native-camera

      A Camera component for React Native. Also reads barcodes.

      • v4.2.1
      • 44.11
      • Published

      authenticator

      Two- / Multi- Factor Authenication (2FA / MFA) for node.js

      • v1.1.5
      • 43.98
      • Published

      qrious

      Library for QR code generation using canvas

      • v4.0.2
      • 43.88
      • Published

      iso-639-3

      Info on ISO 639-3

      • v3.0.1
      • 43.61
      • Published

      country-codes-list

      List of codes per country (languages, calling codes, currency codes, etc) with full TypeScript support.

      • v2.0.0
      • 43.59
      • Published

      @appthreat/atom

      Create atom (âš›) representation for your application, packages and libraries

      • v2.2.3
      • 43.49
      • Published

      to-single-quotes

      Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`

      • v4.0.0
      • 43.45
      • Published

      to-double-quotes

      Convert matching single-quotes to double-quotes: I 'love' unicorns → I "love" unicorns

      • v4.0.0
      • 43.42
      • Published

      @codemirror/lang-lezer

      Lezer grammar language support for the CodeMirror code editor

      • v6.0.1
      • 43.26
      • Published

      ngx-highlightjs

      Instant code highlighting, auto-detect language, super easy to use.

      • v14.0.0
      • 43.22
      • Published

      react-code-input

      React component for entering and validating numbers, text or password.

      • v3.10.1
      • 43.04
      • Published

      ts-standard

      TypeScript Standard Style based on StandardJS

      • v12.0.2
      • 42.93
      • Published

      country-telephone-data

      Has country codes for all countries in the world. Please send a PR if you see something missing or find a mistake.

      • v0.6.3
      • 42.84
      • Published

      diffjam

      cli for diffjam.com

      • v3.2.8
      • 42.61
      • Published

      @mantine/prism

      Code highlight with Mantine theme

      • v6.0.22
      • 42.59
      • Published

      node-2fa

      Easy 2-Factor Integration For Node.js

      • v2.0.3
      • 42.58
      • Published

      eslint-config-xo-react

      ESLint shareable config for React to be used with eslint-config-xo

      • v0.28.0
      • 42.38
      • Published

      gfm-code-blocks

      Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.

      • v1.0.0
      • 42.21
      • Published

      toky

      simple code like tokenizer

      • v0.1.0
      • 41.82
      • Published

      country-to-currency

      Map country codes (ISO 3166-1 alpha-2) to their default currency codes (ISO 4217)

      • v2.0.2
      • 41.63
      • Published

      country-iso-3-to-2

      Convert a country code ISO 3166-1 Alpha-3 to ISO 3166-1 Alpha-2

      • v1.1.1
      • 41.42
      • Published

      country-iso-2-to-3

      Convert a country code ISO 3166-1 Alpha-2 to ISO 3166-1 Alpha-3

      • v1.1.0
      • 41.37
      • Published

      country-code-emoji

      convert country codes (ISO 3166-1 alpha-2) to corresponding emoji flags (unicode regional indicator symbols)

      • v2.3.0
      • 41.28
      • Published

      lang-feel

      FEEL language support for the CodeMirror code editor

      • v2.3.0
      • 40.96
      • Published

      typescript-docs-verifier

      Verifies that typescript examples in markdown files actually compile.

      • v2.5.3
      • 40.92
      • Published

      xhr-status

      Normalize XHR status code/text across various of environments

      • v1.0.1
      • 40.90
      • Published

      @editorjs/code

      Code Tool for Editor.js

      • v2.9.3
      • 40.87
      • Published

      iso-3166

      ISO 3166 (standard for country codes and codes for their subdivisions)

      • v4.3.0
      • 40.57
      • Published

      windows-locale

      Windows Language Code Identifier (LCID) for JavaScript

      • v1.1.3
      • 40.49
      • Published