{"id":80646,"library":"johnson","title":"Johnson","description":"Johnson embeds the Mozilla SpiderMonkey JavaScript runtime as a C extension, allowing Ruby to execute JavaScript code.","status":"active","version":"1.2.0","language":"ruby","source_language":null,"source_url":"https://github.com/jbarnette/johnson","tags":["javascript","spidermonkey","runtime","embedding"],"install":[{"cmd":"gem install johnson","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'johnson', '~> 1.2.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Johnson","correct":"require 'johnson'"}],"quickstart":{"code":"require 'johnson'\nctx = Johnson::Runtime.new\nctx.evaluate('1 + 1')","lang":"ruby","description":"Evaluate JavaScript expressions from Ruby"},"warnings":[],"env_vars":null,"search_vec":"'allow':13 'c':11 'code':18 'emb':3 'embed':22 'execut':16 'extens':12 'javascript':7,17,19 'johnson':1,2 'mozilla':5 'rubi':14 'runtim':8,21 'spidermonkey':6,20","created_at":"2026-06-18T05:30:14.791144+00:00","updated_at":"2026-06-18T05:30:14.791144+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/jbarnette/johnson","github":"https://github.com/jbarnette/johnson","docs":"http://www.rubydoc.info/gems/johnson/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}