Socket
Book a DemoInstallSign in
Socket

mailsac

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailsac

Mailsac API Library

latest
Source
npmnpm
Version
0.2.5
Version published
Weekly downloads
2.3K
2.16%
Maintainers
1
Weekly downloads
 
Created
Source

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 mailsac
    

    and

    const Client = require("mailsac").Client;
    

    or in es6 or TypeScript

    importClient } from "mailsac";
    

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 install
    
  • Lint the ts files

    $ npm run lint
    

    or to fix some errors automatically

    $ npm run lint:fix
    
  • Run the tests

    $ npm run test
    
  • Build 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.

Keywords

mailsac

FAQs

Package last updated on 09 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.