3.2.9 • Published 3 years ago

@4qwerty7/sim-node v3.2.9

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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 */));
3.2.9

3 years ago

3.2.8

3 years ago

3.2.7

3 years ago