Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: filtrex
node v14.20.1
endpoint
share
tweet
const { compileExpression } = require("filtrex@3.0.0-rc11"); const options = { constants: { pi: Math.PI } } const fn = compileExpression(`2 * pi * radius`, options) fn({ radius: 1/2 }) // → Math.PI
Created from: https://npm.runkit.com/filtrex
Loading…
Clone and edit this document