codemirror-lang-http-bak
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Fork from glitchedgitz/codemirror-lang-http

Http Request/Response Lezer Parser for Codemirror v6

Initially created for GRROXY

Features

  • One parser for request/response
  • Auto detect and parse body of request/response
  • Param=value highlight for URI and Cookies/Set-Cookies
  • Autocomplete Headers and Methods

Install

npm i codemirror-lang-http-bak

Usage

Just push it in your extensions

EditorState.create({
    extensions: [
    // other extensions
    http()
    ],
}),

Supported Body Languages

HTML, JSON, JavaScript, JS, XML

Todo

GraphQL

Readme

Keywords

none

Package Sidebar

Install

npm i codemirror-lang-http-bak

Weekly Downloads

5

Version

0.1.1

License

MIT

Unpacked Size

350 kB

Total Files

8

Last publish

Collaborators

  • jummy