Skip to content

Repository files navigation

messageflow

Better greeting message


NPM

Build StatusVersionDownloadsMIT LicenseDependency StatusNSP Status

Code of Conduct

codebeat-badgecodacy-badgeinch-badge

Messageflow

Table of contents

Pre-requisites

Setup

Install

# Install via NPM
$ npm install --save messageflow

Usage

Node.js

constgreeting=require('messageflow');

Native ES modules or TypeScript

importgreetingfrom'messageflow';

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

Releases

Packages

Used by

Contributors

Languages