UNPKG

subscript

Version:

Fast and tiny expression evaluator with minimal syntax.

7 lines (5 loc) 228 B
import type { OperatorFunction } from './src/compile'; export default subscript; export * from "./src/parse.js"; export * from "./src/compile.js"; declare function subscript(s: string): ((ctx?: any) => any) | OperatorFunction;