Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

brace-extra

zefoy35.9kMIT0.9.0TypeScript support: included

Extra modes etc. for brace.

ace, editor, browser, package, bundle, inline, browserify

readme

brace-extra

This is a collection of extra modes for the brace.

Installation

npm install brace-extra

Provided extra modes

For now this package provides the following modes:

ljson:   Loose JSON (JSON with a loose format requirement)
locale:  Locale strings format (simple lines of: "key": "value")

Usage with the ng2-ace-editor library

You only need to import the appropriate file for the wanted mode:

import 'brace-extra/mode/ljson';