New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm module #29
Comments
👍 |
1 similar comment
+1 |
Here's an abandoned npm module (no valid gh repo): https://www.npmjs.com/package/node-expression-eval It looks like there's still room for a nice clean mainstream module of this. @silentmatt if it works for you, I'd love to make the following changes and publish to npm:
Bottom line: math.js is like > 400K. jsep isn't without issues and doesn't do super-simple evaluation. Esprima is overkill. So unless there's another candidate for sanitizing and evaluating expressions, seems like there's value in tightening things up and publishing it as a simple, robust expression evaluator. |
@rreusser That sounds good to me. I pretty much have the same thoughts about semistandard, but I'm not sure about changing from tabs to spaces, only because it eliminates any git blame history. Although that might not be a huge deal, because for an old project there's not a huge amount of activity anyway :) |
Ah, |
That works for me then. I'll take a look at your pull request and probably merge it tonight after work. |
Cool. Really appreciated! Used it to make a pretty straightforward function plotter: http://rickyreusser.com/plotly-expression-transform/ (source WIP. Unfortunately you need to double-click to get the change to have any effect. Still straightening that out.) |
Nice 👍 That was actually my original use case for this. |
Was this ever published to npm? |
@jonkemp Not yet. I've been working on cleaning up the parser to make it clearer and easier to modify without breaking. I'm about done with that and I'm hoping to get that pushed out this weekend, and then publish it to npm. |
It's actually been available in npm for a while now, but I'm closing this now that version 1.0.0 is out. |
Will you publish a npm module?
The text was updated successfully, but these errors were encountered: