1.0.4 • Published 6 months ago

sm-say-hello v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

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

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago