Skip to main content

A function to log and return a string "hello world"

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 weeks ago (0.1.0)

Export all the modules from this file

Examples

Example 1

import { helloWorld } from './mod.ts';
console.log(helloWorld());

Add Package

deno add jsr:@themwebs/hello-world

Import symbol

import * as hello_world from "@themwebs/hello-world";

---- OR ----

Import directly with a jsr specifier

import * as hello_world from "jsr:@themwebs/hello-world";

Add Package

npx jsr add @themwebs/hello-world

Import symbol

import * as hello_world from "@themwebs/hello-world";

Add Package

yarn dlx jsr add @themwebs/hello-world

Import symbol

import * as hello_world from "@themwebs/hello-world";

Add Package

pnpm dlx jsr add @themwebs/hello-world

Import symbol

import * as hello_world from "@themwebs/hello-world";

Add Package

bunx jsr add @themwebs/hello-world

Import symbol

import * as hello_world from "@themwebs/hello-world";