PDSParser
PDS Configuration file parser
Getting started
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i pdsparser# or $ yarn add pdsparser
Example of parsing a UIM Configuration file
loglevel = 5 probes = cdm,dirscan,processes
const pdsparser = ; { const config = await './script.cfg'; const loglevel = configsetuploglevel || 5; const probes = configsetupprobes || '';};
Use destructuration to simplify readability
const setup: loglevel = 5 probes = '' }} = await './script.cfg';