@configuration-parsing/parser-jsonc
v0.8.4-alpha.1
Published
Toml parser for configuration-parsing/core
Downloads
1
Readme
@configuration-parsing/parser-jsonc
A toml parser implementing the ParsableConfiguration
interface of @configuration-parsing/core
.
Install
npm install @configuration-parsing/parser-jsonc
Documentation
https://botlfux.github.io/configuration-parsing
Usage
import { jsoncConfigurationParser } from '@configuration-parser/parser-jsonc'
const jsonc = `{
// My configuration
"hello": "world"
}`
const parser = jsoncConfigurationParser()
const parsedConfiguration = parser.parse()