salutation-lex

1.2.0 • Public • Published

Salutation lex

A lexicon for arrival and departure salutations

This module can be used as both a function and via the command line

As a module it exports a Lexicon instance using the package Lemme lex

Supported languages

  • English (British)
  • Japanese (Fork and commit if you would like to contribute to the list)

Installation

NPM

    npm i --save salutation-lex

Yarn

    yarn add salutation-lex

CLI

  npm i -g salutation-lex

Usage

Code

const SalutationLex = require('salutation-lex');
let lex = new SalutationLex();
console.log(lex); // Will output class instance using lemme-lex

CLI

  salutation-lex --locale=en_GB

(Will output lexicon as text file called salutation.lex)

Package Sidebar

Install

npm i salutation-lex

Weekly Downloads

1

Version

1.2.0

License

ISC

Unpacked Size

6.58 kB

Total Files

9

Last publish

Collaborators

  • truemedia