Skip to content

0.3.0

Choose a tag to compare

@github-actions github-actions released this 08 Jan 03:30
· 153 commits to main since this release

Add indented Links Notation format support for human-readable object display.

New functions:

  • formatIndented({ id, obj, indent }) - Format an object with identifier in indented style
  • parseIndented({ text }) - Parse indented format back to { id, obj }

The indented format displays objects as:

<identifier>
<key> "<value>"
<key> "<value>"
...

Also adds:

  • escapeReference() for escaping values with special characters
  • unescapeReference() for reversing escape sequences

Related Pull Request: #18


npm version