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";
harrypotter.js is a Javascript wrapper for the https://hp-api.herokuapp.com api
<script type="module">
import harrypotterJs from 'https://cdn.skypack.dev/harrypotter.js';
</script>
harrypotter.js is a Javascript wrapper for the HP-API
npm install harrypotter.js
JavaScript
const {hp} = require("harrypotter.js");
TypeScript
import {hp} from "harrypotter.js";