ExpoSEJS / ExpoSE

A Dynamic Symbolic Execution (DSE) engine for JavaScript. ExpoSE is highly scalable, compatible with recent JavaScript standards, and supports symbolic modelling of strings and regular expressions.
MIT License
183 stars 36 forks source link

Invalid main in package.json #104

Closed mdittmer closed 3 years ago

mdittmer commented 3 years ago

package.json currently contains "main": "src/main.js", which doesn't exist.

The most sensible way I would "consume" this as a NodeJS package would be to use symbol support in my code. E.g.,

import S$ from 'expose';
// or
// import {symbol} from 'expose';

const intInput = S$.symbol('intInput', 0);
// ...

For this reason, I think "main": "lib/S$/src/symbols.js" would make sense. In any case, "main": "src/main.js" is misleading.