A tiny and safe eval written in TypeScript 🚀
evaluate statically-analyzable expressions
A tiny invariant function
Simple JavaScript expression evaluator
Mathematical expression evaluator fork with exports map, prototype pollution and code injection security fixes
A minimal polyfill of setImmediate, for modern browsers using `window.postMessage`, and `MessageChannel` in workers.
A flexible math expression evaluator
Evaluate node require() module content directly
A tiny, safe, fast JavaScript library for decimal arithmetic expressions.
require or eval modules
Mark scopes for deopt which contain a direct eval call
Alias for eval global.
A tiny warning function
Get callsites from the V8 stack trace API
Safely evaluate JavaScript (estree) expressions, sync and async.
JavaScript expression parsing and evaluation.
Tiny Casing utils
Eval a string with a passed scope
A simple cache for a few of the JS Error constructors.
A fast, lightweight LRU (Least Recently Used) cache for JavaScript with O(1) operations and optional TTL support.
Tiny CBOR library
A library for teleporting rich data to another place.
A minimal fork of nanospy, with more features
Tiny and extremely fast globbing
Tiny parser for converting strings to hashes (without using eval).
Grab and eval Ruby code via HTTP. You don't care about security, right? This gem is Dr. Nic's fault. We were looking for an easy way to run Ruby code that was publicly available on a web server, and though we've all written something to do this a time or two, we couldn't find a convenient gem. I hacked up a quick example: ruby -rubygems -ropen-uri -e \ 'eval open("http://gist.github.com/raw/473222/snippet.rb").read' \ jbarnette dr-nic-magic-awesome ...but why use a simple Ruby one-liner when we can go overboard and package it as a gem? While we're at it, why not add a tiny bit of extra sugar for Gists? This is not an original idea. It's been done a ton of times before, but this one is ours. Don't use it for anything real or it'll melt your face.