@easybits.cloud/mailmask 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +41 -0
  2. package/package.json +12 -3
package/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # @easybits.cloud/mailmask
2
+
3
+ Official TypeScript/JavaScript SDK for the [MailMask](https://mailmask.studio) email alias and forwarding API.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm i @easybits.cloud/mailmask
9
+ ```
10
+
11
+ ## Quick start
12
+
13
+ ```ts
14
+ import { MailMask } from "@easybits.cloud/mailmask";
15
+
16
+ const mm = new MailMask({ apiKey: "mm_live_..." });
17
+
18
+ // List domains
19
+ const domains = await mm.domains.list();
20
+
21
+ // Create an alias
22
+ const alias = await mm.aliases.create({
23
+ domainId: "domain-id",
24
+ local: "hello",
25
+ destinations: ["you@example.com"],
26
+ });
27
+ ```
28
+
29
+ ## Docs
30
+
31
+ Full API reference and examples: https://mailmask.studio/docs
32
+
33
+ ## Links
34
+
35
+ - [MailMask](https://mailmask.studio) — Email alias & forwarding service
36
+ - [EasyBits](https://easybits.cloud) — Cloud platform
37
+ - [Fixter](https://fixter.org) — Development team
38
+
39
+ ## License
40
+
41
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easybits.cloud/mailmask",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Official SDK for the MailMask email alias/forwarding API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -13,7 +13,10 @@
13
13
  "require": "./dist/index.cjs"
14
14
  }
15
15
  },
16
- "files": ["dist"],
16
+ "files": [
17
+ "dist",
18
+ "README.md"
19
+ ],
17
20
  "scripts": {
18
21
  "build": "tsup",
19
22
  "prepublishOnly": "npm run build"
@@ -22,6 +25,12 @@
22
25
  "tsup": "^8.0.0",
23
26
  "typescript": "^5.0.0"
24
27
  },
25
- "keywords": ["mailmask", "email", "alias", "forwarding", "sdk"],
28
+ "keywords": [
29
+ "mailmask",
30
+ "email",
31
+ "alias",
32
+ "forwarding",
33
+ "sdk"
34
+ ],
26
35
  "license": "MIT"
27
36
  }