@4qwerty7/sim-node

    3.2.9 • Public • Published

    Usage

    const sim = require('@4qwerty7/sim-node');
    console.log(sim.supportedTypes); // ['8086', 'c', 'c++', 'java', 'lisp', 'm2', 'mira', 'pasc', 'text']
    sim('c'/* type */, {hello: 'puts("hello");'} /* Map, Map-like or object key(name)-value(code) pair */).then(res => console.log(res/* array of triples, each contains name_a, name_b, the precentage of similarity */), err => console.log(err /* string or Error object */));

    Keywords

    Install

    npm i @4qwerty7/sim-node

    DownloadsWeekly Downloads

    6

    Version

    3.2.9

    License

    ISC

    Unpacked Size

    1.09 MB

    Total Files

    21

    Last publish

    Collaborators

    • 4qwerty7