comar-ld

0.1.1 • Public • Published

Hello

Requires node 14.13.1 or better.

npm i -g comar-ld

Examples

comar-ld https://slashdot.org/ && echo "Language matches, all good."

comar-ld https://parcelsapp.com/en || echo "Language not declared in html, no match."

comar-ld https://www.languagenext.com/blog/porque-espanol-tan-popular/ || echo "Declared language doesn't match detected language."

In other words, use && if you expect a match and want to run another command, and use || if you want to run a function when language doesn't match or isn't declared in the html.

/comar-ld/

    Package Sidebar

    Install

    npm i comar-ld

    Weekly Downloads

    1

    Version

    0.1.1

    License

    none

    Unpacked Size

    11.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • millette