New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@criptext/api

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@criptext/api

Module for sending HTTP request to the Criptext Email API. This is specifically designed to be used by our electron app and backend integration tests.

  • 0.17.6
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Module for sending HTTP request to the Criptext Email API. This is specifically designed to be used by our electron app and backend integration tests.

Install

Install with yarn:

yarn add @criptext/api

This module is private so make sure you have run npm login with the necessary credentials on your dev machine.

Usage

This module exports a class: {@link ClientAPI}, which you can instantiate and call its methods to send requests to the server.

const ClientAPI = require('@criptext/email-http-client');

const client = new ClientAPI();

const credentials = {
  username: 'tester',
  password: 'R3alS3cuREp@s$w0rd',
  deviceId: 1
};

client.login(credentials)
  .then(() => console.log('logged in!'))
  .catch((err) => console.error('something went wrong', err));

Documentation

Currently the only way to read documentation is to build it yourself. After you clone this repository navigate to the root of this package and run:

yarn --frozen-lockfile
yarn jsdoc

Now open out/index.html on a web browser.

FAQs

Package last updated on 16 Oct 2020

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc