https://github.com/daimaou92/greetworld
Simple hello world program. Built to test npm packaging.
https://github.com/daimaou92/greetworld
Last synced: about 1 month ago
JSON representation
Simple hello world program. Built to test npm packaging.
- Host: GitHub
- URL: https://github.com/daimaou92/greetworld
- Owner: daimaou92
- License: mit
- Created: 2018-12-28T16:48:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-30T03:42:38.000Z (about 2 years ago)
- Last Synced: 2025-03-29T02:38:21.306Z (about 2 months ago)
- Language: JavaScript
- Size: 86.9 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# greetworld
A node.js module that just greets the world.
Small test package made to investigate creating npm modules with in-built typescript support.
Main goal of publishing this is as an example for the underlying structure.## Installation
```sh
npm install greetworld --save
```## Usage
### Javascript
```javascript
var _g = require("greetworld");
_g.Greet();
```
```sh
Output ---> 'HELLO WORLDDDDDDD!!'
```### Typescript
```typescript
import {Greet} from 'greetworld';
Greet();
```
```sh
Output ---> 'HELLO WORLDDDDDDD!!'
```## Test
```sh
npm test
```