0.7.0 • Published 5 years ago

@wikisophia/api-arguments-client v0.7.0

Weekly downloads
10
License
GPL-3.0
Repository
github
Last release
5 years ago

Arguments API Javascript Client

A javascript client library for the Wikisophia Arguments API.

Usage

import newArgumentsClient from 'api-arguments-client';

const arguments = newArgumentsClient({
    url: "www.wikisophia.net",
    fetch: fetch,
});

arguments.save({
    premises: [
        "Wood floats in water.",
        "Ducks float in water.",
        "Objects which are the same weight will either both sink or both float in water.",
        "Objects with the same weight are made of the same material.",
        "She weighs the same as a duck.",
    ],
    conclusion: "She's made of wood.",
});

This library works from both the client and server, provided you can send it a fetch function. In environments that don't support this natively, you may need to Polyfill it.

See:

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago