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

cert127

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cert127

`cert127` / There is no place like 127.0.0.1

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cert127

cert127 / There is no place like 127.0.0.1

Small utility to generate 🔒 trusted self-signed certificates for local development.

Prerequisites

This package requires mkcert to be installed on your system. Please follow the installation instructions for your platform.

Installation

# With Yarn
yarn add cert127

# or with npm
npm i cert127

Usage

import cert127 from 'cert127';

const { key, cert } = await cert127();

✨Roadmap

  • Make it a class, so we offer more ways to retrieve the cert
  • Add a check to see if mkcert is installed and if not, install it
  • Make sure that mkcert was initialized: mkcert -install
  • Add a check to see if the certificate is already created and ask the user if they want to overwrite it
  • Add more options for customizations (e.g. hosts, expiration time etc.)
  • Add a way to revoke the certificate
  • Add a way to check if the certificate is valid
  • Allow creating multiple certificates
  • Add tests
  • Add CI/CD
  • Add ESLint and Prettier

There is no place like 127.0.0.1 🏠

Keywords

FAQs

Package last updated on 17 Nov 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