json-logic-js icon indicating copy to clipboard operation
json-logic-js copied to clipboard

Document TypeScript support via DefinitelyTyped

Open shawnmclean opened this issue 3 years ago • 3 comments

This project doesn't seem to be maintained much. I'm also seeing forks that have enhancements but are also not maintained.

I'm looking for a json logic library with typescript support that works with https://github.com/ukrbublik/react-awesome-query-builder

Is this one still the correct library?

edit: I found https://github.com/DefinitelyTyped/DefinitelyTyped/pull/49234

shawnmclean avatar Jan 07 '22 19:01 shawnmclean

I think I'll have time to look at that library ~today~ this week, and potentially add it to the README here, is that helpful?

jwadhams avatar Jan 10 '22 19:01 jwadhams

I try to be reactive to security issues, but my own use of the interpreter hasn't needed a lot of new functionality recently. I would consider this stable but not growing, if that helps.

jwadhams avatar Jan 10 '22 19:01 jwadhams

Yep, those are the right types:

npm install --save-dev @types/json-logic-js

josephdpurcell avatar Jan 22 '23 03:01 josephdpurcell