hello-world-emo

A hello world npm module whose main purpose is to experiment a 'modern' (typescript / ES6) module declaration and its consumption by various environments, including legacy.

Usage no npm install needed!

<script type="module">
  import helloWorldEmo from 'https://cdn.skypack.dev/hello-world-emo';
</script>

README

Hello World Npm
Offirmo’s quality seal

npm badge dependencies badge bundle size badge license badge maintenance status badge

A hello world npm module whose real purpose is to experiment a 'modern' (TypeScript / ES6) module declaration and its consumption by various environments, including legacy.

This is an "emo" hello world, in reference to this article: JavaScript Modules: Welcome to My Emo Hellscape.

Usage

npm i --save hello-world-emo
yarn add hello-world-emo
import { hello } from 'hello-world-emo'

hello()           // --> Hello, World :-(
hello('Offirmo')  // --> Hello, Offirmo :-(

What did you expect ?

Technical

This module is aiming at

References :