Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including owlbot-js with all npm packages installed. Try it out:

var owlbotJs = require("owlbot-js")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

owlbot-js v2.0.0

A javascript client for the owlbot dictionary API.

alt text


CircleCI Coverage Status

OwlBot is a free English dictionary API available on This repository is a simple javascript client to fetch definitions of the words from the Owlbot API.

Quick start

First install the owlbot-js package.

npm install owlbot-js

Example Code:

var Owlbot = require('owlbot-js');
var client = Owlbot(YOUR_TOKEN);


In the example code, we've initiated the client object with a token. you can register for a free token on

Then on the client instance we called the define method to fetch the definitions of the word 'owl'. In the background, define method sends an ajax request to the API using the axios package. Since it's an asynchronous request, the define methos returns a Promiss.

{ definitions:
   [ { type: 'noun',
        'a nocturnal bird of prey with large eyes, a facial disc, a hooked beak, and typically a loud hooting call.',
        'I love reaching out into that absolute silence, when you can hear the owl or the wind.',
       emoji: '🦉' } ],
  word: 'owl',
  pronunciation: 'oul' }

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free