sm-say-hello

1.0.4 • Public • Published

What is this?

This is the first npm package from M.Habib based on ESM

Installation:

Run npm i sm-say-hello

Use:

// importing inside node project.

import { sayHi } from 'sm-say-hello'

console.log(sayHi());


// importing inside browser

<!DOCTYPE html>
<html lang="en">
<head>

    <script type="module">

        import { sayHi } from './node_modules/sm-say-hello/module.js'
        
        console.log(sayHi("sdfasdf"));

    </script>

</head>
<body>
    
</body>
</html>

Parameters:

The sm-say-hello accepts one parameter called msg.

By default, Hi There! from sm-say-hello npm package

Readme

Keywords

none

Package Sidebar

Install

npm i sm-say-hello

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

1 kB

Total Files

3

Last publish

Collaborators

  • smhabibjr