mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 10:07:54 -05:00
10 lines
317 B
JavaScript
10 lines
317 B
JavaScript
import { getValue } from "npm:@denotest/require-added-nm-folder";
|
|
|
|
Deno.mkdirSync("./node_modules/.other-package");
|
|
Deno.writeTextFileSync("./node_modules/.other-package/package.json", "{}");
|
|
Deno.writeTextFileSync(
|
|
"./node_modules/.other-package/index.js",
|
|
"exports.get = () => 5;",
|
|
);
|
|
|
|
console.log(getValue());
|