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

@capsule-cat/propel-forward

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capsule-cat/propel-forward

Opinionated framework built on top of `@capsule-cat/propel-server`. This package contains a set of utilities and pre-made services to quickly get started with writing a server using `@capsule-cat/propel-*` packages.

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@capsule-cat/propel-forward

Opinionated framework built on top of @capsule-cat/propel-server. This package contains a set of utilities and pre-made services to quickly get started with writing a server using @capsule-cat/propel-* packages.

What's included

  • dotenv-safe - automatically load in env-vars based on an expected .env.example. Both a .env.example and .env are expected at your project root.
  • debug - A Logger service is automatically injected into your @capsule-cat/propel-server dependency injection bottle. It will expect a APP_NAMESPACE env-var to be set to configure the service, and will expect you to create an ExceptionLogger service to report any application errors.

Getting Started

To install the package, run the following command:

npm install --save @capsule-cat/propel-forward

This will install the package as a dependency.

Usage

To use as your entrypoint, import the init function from the package and call it with an array of plugins.

import { init } from "@capsule-cat/propel-forward";

async function main() {
    await init([
        // Add any Propel plugins here
    ]);
}

This will initialize the dependency injection container and any Bootstrap methods.

FAQs

Package last updated on 05 Feb 2023

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