message-flow
v0.0.1
Published
Messageflow
Downloads
1
Readme
Messageflow
Table of contents
Pre-requisites
Setup
Install
# Install via NPM
$ npm install --save message-flow
Usage
Node.js
const greeting = require('message-flow');
Native ES modules or TypeScript
import greeting from 'message-flow';
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