Need help with jcubic/lily?

There is 1 helper available for jcubic/lily on our platform. If you're new to LTH, please see our FAQ for more information on what it is we do.

Qualified Helpers
owner From $50 / 30 mins
Get help from jcubic



LILY is very simple option parser inspired by YARGS with no dependencies

LILY stands for LILY Is Like Yargs

In fact it's inspired by yargs-parser used by Yargs to parse the options.


npm install --save @jcubic/lily


#!/usr/bin/env node
const lily = require('@jcubic/lily');

const options = lily(process.argv.slice(2), {boolean: ['b']});

if you run the script with:

./script -l 10 --hello 20 -asb one two three

you will get this object as result:

    "_": [
    "l": "10",
    "hello": "20",
    "a": true,
    "s": true,
    "b": true


Copyright (C) 2020-2021 Jakub T. Jankiewicz

Released under MIT license

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2024 © lth-dev incorporated