0.3.1 • Published 4 years ago

buid v0.3.1

Weekly downloads
40
License
MIT
Repository
github
Last release
4 years ago

buid

$ npm i -D buid
# or
$ yarn add -D buid

Options

FlagData typeDescriptionDefault
-p--pathstring or objectPath to the JSON file with data or an object
-c--chainstring[]Chain of keys corresponding to the arrays in objects['criteria', 'requirementGroups', 'requirements', 'optionDetails', 'optionGroups', 'options']
-f--fixbooleanFix and return datafalse
-s--skipstring[]Keys to skip while getting array in an object['optionDetails']
-l--segment-lengthnumberLength of corresponding id segment2
-v--verbosebooleanEnable verbose loggingfalse
--configstringPath to the JSON configuration file

CLI usage

$ buid -p category.json -v

Programmatic usage

import buid from 'buid';

buid({ path: 'category.json' /* or an object itself */ });
0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0-beta.0

4 years ago

0.1.0

4 years ago