0.1.0 • Published 11 months ago
codemirror-lang-http v0.1.0
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
Usage
Just push it in your extensions
EditorState.create({
extensions: [
// other extensions
http()
],
}),
Supported Body Languages
HTML
, JSON
, JavaScript
, JS
, XML
Todo
GraphQL
0.1.0
11 months ago