Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@epilot/email-template-client

Package Overview
Dependencies
Maintainers
11
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epilot/email-template-client

API Client for epilot Email template API

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
11
Created
Source

@epilot/email-template-client

API Client for epilot email template API.

Uses openapi-client-axios

Getting Started

Install the package:

npm install --save-dev @epilot/email-template-client

Import the package:

import { getClient } from '@epilot/email-template-client';

Use the client:

// get typed client
const client = await getClient();

BaseURL & Authorization

To pass an authorization header and set up the API url, you can use axios defaults:

const client = getClient();
client.defaults.baseURL = config.ENTITY_API_URL;
client.defaults.headers['authorization'] = `Bearer ${token}`;

API Docs:

https://docs.api.epilot.io/

FAQs

Package last updated on 26 Jan 2022

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