Skip to main content

Wolfram Alpha API wrapper

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
100%
Published
2 months ago

Wolfy

Wolfram Alpha API fully covered wrapper built with TypeScript.

Installation

Wolfy is published via jsr.

Deno

deno add @danimydev/wolfy

Others

npx jsr add @danimydev/wolfy
yarn dlx jsr add @danimydev/wolfy
pnpm dlx jsr add @danimydev/wolfy
bunx jsr add @danimydev/wolfy

Usage

Request your SECRET_APPID here and store it securely.

Create your instance.

import { SimpleApi } from "wolfy";
const wolfy = new SimpleApi({
  appId: "<SECRET_API_ID>",
});
Simple API
await wolfy.query({
  input: "How much does the Earth weigh?",
});

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Mozilla Public License Version 2.0

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @danimydev/wolfy

Import symbol

import * as mod from "@danimydev/wolfy";

Add Package

npx jsr add @danimydev/wolfy

Import symbol

import * as mod from "@danimydev/wolfy";

Add Package

yarn dlx jsr add @danimydev/wolfy

Import symbol

import * as mod from "@danimydev/wolfy";

Add Package

pnpm dlx jsr add @danimydev/wolfy

Import symbol

import * as mod from "@danimydev/wolfy";

Add Package

bunx jsr add @danimydev/wolfy

Import symbol

import * as mod from "@danimydev/wolfy";