/* eslint-disable no-console */ 'use strict'; // eslint-disable-next-line id-match const { InteractiveOptions } = require ('./dist/lib/index.js'); (async () => { const reader = new InteractiveOptions ([ { name: 'str', type: 'string' }, { name: 'bool', type: 'boolean' }, { name: 'num', type: 'number' } ]); await reader.parse (); console.log (reader.serialize (true)); }) ();