harrypotter.js

harrypotter.js is a Javascript wrapper for the https://hp-api.herokuapp.com api

Usage no npm install needed!

<script type="module">
  import harrypotterJs from 'https://cdn.skypack.dev/harrypotter.js';
</script>

README

HarryPotter.js

harrypotter.js is a Javascript wrapper for the HP-API

Installation

npm install harrypotter.js

Usage

JavaScript

const {hp} = require("harrypotter.js");

TypeScript

import {hp} from "harrypotter.js";