1.2.0 • Published 5 years ago

consent-lex v1.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

consent-lex

A lexicon for giving or declining consent (yes and no)

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 consent-lex

Yarn

    yarn add consent-lex

CLI

  npm i -g salutation-lex

Usage

Code

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

CLI

  consent-lex --locale=en_GB

(Will output lexicon as text file called consent.txt)

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago