Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@drashbot drashbot released this 10 Jun 13:55
· 48 commits to main since this release
89d7ea2

Importing

In the browser:

<script type="module" src="myScript.js"></script>
// myScript.js
import { Moogle } from "https://unpkg.com/@drashland/moogle@1.0.0/lib/esm/Moogle.js";
const service = new Moogle();

In Node:

# Using npm
$ npm install @drashland/moogle

# Using yarn
$ yarn add @drashland/moogle
// JavaScript
const { Moogle } = require("@drashland/moogle");
const service = new Moogle();
// TypeScript
import { Moogle } from "@drashland/moogle";
const serviceWithTypes = new Moogle<MyType>();
const serviceWithoutTypes = new Moogle();

In Deno:

// JavaScript
import { Moogle } from "https://unpkg.com/@drashland/moogle@1.0.0/lib/esm/Moogle.js";
const service = new Moogle();
// TypeScript
import { Moogle } from "https://deno.land/x/moogle@v1.0.0/mod.ts";
const serviceWithTypes = new Moogle<MyType>();
const serviceWithoutTypes = new Moogle();

Updates

  • v1 release