@foerderfunke/matching-engine
v0.7.4
Published
Checks eligibilities by validating a user profile against requirement profiles
Downloads
348
Readme
matching-engine
- Input: user profile, requirement profiles, datafield constraints, materialization queries
- Output: a report about eligibilities (yes, no, missing data)
In use in the FörderFunke app.
Local development
# after bumping the @foerderfunke/matching-engine version
npm run build
npm publish
# to run dev.js
npm start
Using this library as dependency
npm install --save @foerderfunke/matching-engine
# package.json
{
"type": "module",
"dependencies": {
"@foerderfunke/matching-engine": "^0.2.0"
}
}
# dev.js
import { validateUserProfile } from "@foerderfunke/matching-engine"
# ...
let report = await validateUserProfile(userProfileString, datafieldsString)
console.log(report)
# node dev.js