From d0753572d708087171777be6759da78bf80fc3a9 Mon Sep 17 00:00:00 2001 From: Luan Date: Wed, 10 Jul 2024 01:45:55 -0300 Subject: [PATCH] chore: remove unneeded file --- README.md | 2 +- test.mjs | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 test.mjs diff --git a/README.md b/README.md index b0aa0fe..6fd6306 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ jinter.evaluate(code); --- Inject your own functions, objects, etc: ```ts -import { Jinter } from './dist/index.js'; +import { Jinter } from 'jintr'; const jinter = new Jinter(); diff --git a/test.mjs b/test.mjs deleted file mode 100644 index 4150761..0000000 --- a/test.mjs +++ /dev/null @@ -1,11 +0,0 @@ -import { Jinter } from './dist/index.js'; -const code = ` - const a = "this is a test"; - const arr = String.prototype.split.call(a, ""); - const joined = Array.prototype.join.call(arr, ""); - console.log(new Date("2021-01-01").getTime()); - `; - -const jinter = new Jinter(code); - -console.log(jinter.interpret());