A small Node.JS library to detect loaded language in given text.
npm i loaded-language-linter
// require the module
var linter = require('loaded-language-linter');
var result = linter('Lorem ipsum dolor sit amet family values.');
console.log(result.text)
// returns original text
// 'Lorem ipsum dolor sit amet family values.'
console.log(result.matches)
// returns Array of matches
// [ 'family values' ]
This project was inspired by Eric Weinstein's response to:
"What scientific term or concept ought to be more widely known?"