lacona-util-fulltext

0.2.0 • Public • Published

lacona-util-fulltext

Travis Coverage Status

Take lacona output and generate a simple string.

Useful for passing to lacona-addon-* functions.

Given this input:

{
    "match": [
        {"string": "a"},
        {"string": " "}
    ],
    "suggestion": {
        "charactersComplete": 0,
        "words": [
            {"string": "b"}
        ]
    },
    "completion": [
        {"string": " "},
        {"string": "c"}
    ]
}

Generate this output:

"a b c"

Package Sidebar

Install

npm i lacona-util-fulltext

Weekly Downloads

2

Version

0.2.0

License

MIT

Last publish

Collaborators

  • brandonhorst