From ba9256da43a1a64ef68ff43a03f810bea28cd003 Mon Sep 17 00:00:00 2001 From: Carlos Scheidegger <285675+cscheid@users.noreply.github.com> Date: Wed, 2 Jun 2021 09:41:51 -0700 Subject: [PATCH] Fix minor typo on code snippet `Intepreter` => `Interpreter` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1662508..dae11ea 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,14 @@ An unoffical compiler _and_ interpreter for Observable notebooks (the glue betwe This library has two parts: The Interpreter and the Compiler. The Interpreter will interpret "Observable syntax" into "javascript syntax" live in a javascript environment. For example: ```javascript -import { Intepreter } from "@alex.garcia/unofficial-observablehq-compiler"; +import { Interpreter } from "@alex.garcia/unofficial-observablehq-compiler"; import { Inspector, Runtime } from "@observablehq/runtime"; async function main() { const runtime = new Runtime(); const main = runtime.module(); const observer = Inspector.into(document.body); - const interpret = new Intepreter({ module: main, observer }); + const interpret = new Interpreter({ module: main, observer }); await interpret.module(` import {text} from '@jashkenas/inputs'