🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

dargs-object

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dargs-object - npm Package Versions

0.2.0

Diff
r3b
published 0.2.0 •

Changelog

Source

0.2.0

  • replaced the excludes parameter with an options object containing 'excludes' as a parameter
  • added 'joinLists' option. If false (default), array values will generate multiple flags: '--list thing1 --list thing2 --list thing3'. If true, array values will be passed, delimited, to a single flag: '--list thing1,thing2,thing3'.
  • convertCamelCase (default: false) option will optionally convert camelCase flags to camel-case
r3b
published 0.1.0 •

Changelog

Source

0.1.0

  • Forked from https://github.com/sindresorhus/dargs
  • added support for objects. Objects are flattened to the form '--key1.key2.key3'
  • removed camelCase conversion to camel-case