1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/tests/specs/npm/es_module/main.js
2024-03-13 16:21:13 +00:00

9 lines
167 B
JavaScript

import chalk from "npm:chalk@5";
if (import.meta.main) {
console.log(chalk.green("chalk esm loads"));
}
export function test(value) {
return chalk.red(value);
}