message-flow
Better greeting message
Messageflow
Table of contents
Pre-requisites
Setup
Install
# Install via NPM $ npm install --save message-flow
Usage
Node.js
const greeting = ;
Native ES modules or TypeScript
;
API Reference
greeting(name)
- name <string> Name of the person to greet at.
- returns: <Promise<string>> Promise which resolves with a greeting message.
greetingSync(name)
This methods works the same as greeting(name)
except that this is the synchronous version.
License
MIT License © Rong Sen Ng