No Problem, Meatbag

    maslow

    0.1.0 • Public • Published

    Maslow NPM version Build Status

    High level abstraction of maslow pyramid of needs, for use with AI

    Installation

    $ npm install --save maslow

    Usage

    const {Maslow} = require('maslow');
    let pyramidStage = 'physiological';
    let trainingData = [
        {
            "phrase": "cannot breathe",
            "need": "air"
        },
        {
            "phrase": "need to drink",
            "need": "water"
        },
        {
            "phrase": "need to eat",
            "need": "food"
        }
    ];
    let person = new Maslow(pyramidStage, trainingData);

    See the test.js for example of function calls to the library

    Tests

    Run node test.js. If you get no errors and see the full scenario text play out then everything is fine.

    License

    ISC © Wade Penistone

    Install

    npm i maslow

    DownloadsWeekly Downloads

    1

    Version

    0.1.0

    License

    ISC

    Unpacked Size

    13.5 kB

    Total Files

    15

    Last publish

    Collaborators

    • truemedia