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

@peculiar/acme-express

Package Overview
Dependencies
Maintainers
6
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peculiar/acme-express

Express middleware that addsAutomatic Certificate Management Environment (ACME) implementing RFC 8555 protocol

  • 1.8.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
45
increased by800%
Maintainers
6
Weekly downloads
 
Created
Source

@peculiar/acme-express

License: AGPL v3 npm version

About

@peculiar/acme-express is an Express middleware that can be used to addAutomatic Certificate Management Environment (ACME) implementing RFC 8555 protocol.

Installation

npm install @peculiar/acme-express

Usage

import * as data from "@peculiar/acme-data-memory";
import { AcmeExpress } from "@peculiar/acme-express";
import * as server from "@peculiar/acme-server";
import { Crypto } from "@peculiar/webcrypto";
import * as express from "express";
import { container } from "tsyringe";

const app = express();

AcmeExpress.register(app, {
    baseAddress: "http://localhost:4000/acme",
    cryptoProvider: crypto,
  });

// Register Data layer
data.DependencyInjection.register(container);
// Register Enrollment layer
container.register(server.diCertificateService, CertificateEnrollmentService);


app.listen(8000, () => { console.log(`Server is running`); });

Keywords

FAQs

Package last updated on 16 Apr 2024

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