File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " structured-headers" ,
3
3
"version" : " 2.0.0-alpha.1" ,
4
- "description" : " Implementation of RFC8941, structured headers for HTTP. " ,
4
+ "description" : " Implementation of Structured Field Values for HTTP (RFC9651, RFC8941) " ,
5
5
"type" : " module" ,
6
6
"exports" : {
7
7
"import" : " ./dist/index.js" ,
22
22
" structured-header" ,
23
23
" structured-fields" ,
24
24
" structured fields" ,
25
+ " RFC9651" ,
25
26
" RFC8941" ,
26
27
" headers"
27
28
],
Original file line number Diff line number Diff line change 1
1
Structured Headers parser for Javascript
2
2
========================================
3
3
4
- This library is a parser and serializer for the [ Structured Headers ] [ 1 ]
5
- specification, a.k.a. "Structured Field Values for HTTP" ( RFC8941).
4
+ This library implements a parser and serializer for the [ Structured Field Values for HTTP ] [ 2 ]
5
+ specification. ( [ RFC9651 ] [ 3 ] , [ RFC8941] [ 1 ] ).
6
6
7
7
This specification defines a standard serialization for complex HTTP header
8
8
values, including lists (arrays), dictionaries (maps) and also numbers,
9
- booleans, and binary data.
9
+ booleans, binary data, timestamps and Unicode strings .
10
10
11
11
The library is written in Typescript, and the examples in this document are
12
- too, but plain Javascript is also fully supported.
12
+ too, but plain Javascript is also fully supported. It ships with ESM and
13
+ CommonJS builds and has 0 dependencies.
13
14
14
15
Compatibility
15
16
-------------
@@ -249,3 +250,4 @@ of the api.
249
250
250
251
[ 1 ] : https://datatracker.ietf.org/doc/html/rfc8941
251
252
[ 2 ] : https://github.com/httpwg/structured-field-tests
253
+ [ 3 ] : https://www.rfc-editor.org/rfc/rfc9651.html
You can’t perform that action at this time.
0 commit comments