JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q0F
  • License MIT

Edit jsonc files (eg: vscode settings.json)

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jscedit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    jscedit

    Edit JSONC files eg: VS Code's settings.json.

    JSONC files are JSON but can contain comments and trailing commas. They are a VS Code specific file format.

    Usage

    Add/modify the setting to auto-save files after a delay:

    jscedit settings.json files.autoSave afterDelay

    Read/write from stdin/stdout:

    printf '{ # comment\n"foo" : "bar", }' | jscedit - key value
    { # comment
    "foo": "bar",
    "key": "value",
    }