Skip to content

support headers as comment #419

Open
@bluelovers

Description

@bluelovers

Summary

A clear and concise description of what the feature is.

Motivation

If the feature is related to a problem, describe it. Add any other context explaining why this feature is of interest to you and the community.

Alternative

A clear and concise description of alternative solutions or features you've considered.

Draft

something like this

if (options?.headers_as_comment)
	{
		const headers = columns.slice();
		// @ts-ignore
		headers[0] = options.comment + ' ' + headers[0];

		list = [
			headers,
			...list,
		]
	}

	return stringify(list, {
		delimiter,
	})

Additional context

# domain	path	name	value	expires
xxx.cc	/	connect.sid	xxx	Mon, 03-Feb-2025 19:32:17 GMT
xxx.cc	/	connect.sid	xxx	Mon, 03-Feb-2025 19:32:17 GMT
xxx.cc	/	connect.sid2	xxx	Wed, 14-Jun-2017 07:00:00 GMT
xxx.cc	/	connect.sid3	xxx	Wed, 31-Dec-1969 23:59:59 GMT
xxx.cc	/	connect.sid	xxx	Mon, 03-Feb-2025 19:32:17 GMT
xxx.cc	/	connect.sid	xxx	Mon, 03-Feb-2025 19:32:17 GMT
xxx.cc	/	connect.sid	xxx	Mon, 03-Feb-2025 19:32:17 GMT
xxx.cc	/	connect.sid	xxx	Mon, 03-Feb-2025 19:32:17 GMT

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions