Skip to content

Preserve blank lines? #62

@mkantor

Description

@mkantor

This is more of a question than an issue, but I couldn't find a better place to ask it:

Would you consider it within the scope of node-comment-json to parse/write other kinds of trivia besides comments, such as blank lines?

I have a JSONC file which has some blank lines in it to improve its readability. I'd like to programmatically manipulate that file, and ideally the output wouldn't end up all smushed together.

Anyway, figured I'd ask before I start digging in to see if this is feasible to implement. Thanks for the useful package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions