Skip to content

ts-model-api 1.3.2-kernelf.6

Install from the command line:
Learn more about npm packages
$ npm install @modelix/ts-model-api@1.3.2-kernelf.6
Install via package.json:
"@modelix/ts-model-api": "1.3.2-kernelf.6"

About this version

ts-model-api

Simple Node.js module to output greeting message, written in [TypeScript][typescript-url]


Follow me

Version Node version MIT License

Downloads Total downloads Packagephobia Bundlephobia

Dependency Status codecov Coverage Status

codebeat badge Codacy Badge Code of Conduct

Better greeting message

Table of contents

Pre-requisites

  • Node.js >= 8.16.0
  • NPM >= 6.4.1 (NPM comes with Node.js so there is no need to install separately.)

Setup

Install

# Install via NPM
$ npm install --save ts-model-api

Usage

Node.js

const greeting = require('ts-model-api');

Native ES modules or TypeScript

import greeting from 'ts-model-api';

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 © Sascha Lisson

Details


Assets

  • ts-model-api-1.3.2-kernelf.6.tgz

Download activity

  • Total downloads 2
  • Last 30 days 0
  • Last week 0
  • Today 0