0.0.11 • Published 5 years ago
mailsac-v2 v0.0.11
Mailsac
Mailsac API Library
Installation
In the browser
<script type="text/javascript" src="https://unpkg.com/mailsac"></script>and
const Client = new mailsac.Client("API_KEY");In Node.js
$ npm install mailsacand
const Client = require("mailsac-v2").Client;or in es6 or TypeScript
import { Client } from "mailsac-v2";
Development
You have to rename the config/default.example.json to config/default.json and put your mailsac api in order to run tests
Prerequisites
$ npm installLint the ts files
$ npm run lintor to fix some errors automatically
$ npm run lint:fixRun the tests
$ npm run testBuild the js files
$ npm run build
Contributing
All contributions are welcome! If you wish to contribute, please create an issue first so that your feature, problem or question can be discussed.