consent-lex
v1.2.0
Published
A lexicon for giving or declining to give consent (yes and no)
Downloads
9
Maintainers
Readme
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)