JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 392
  • Score
    100M100P100Q71386F
  • License MIT

A module builder of generic instance management in NextJS.

Package Exports

    Readme

    @nestjs-kitchen/connextion

    NPM Version NPM License codecov

    A module builder of generic instance management in NextJS.


    Install

    $ npm install --save @nestjs-kitchen/connextion

    Usage

    import { defineConnextionBuilder, ConnextionInstance } from '@nestjs-kitchen/connextion';
    
    class CustomInstance extends ConnextionInstance<{}> {
        // ...
    }
    
    const defineCustomInstanceManager = defineConnextionBuilder({
      connextionName: 'CustomInstanceManager',
      InstanceClass: CustomInstance,
    });
    
    const { 
      // Services for injection to manage CustomInstances.
      CustomInstanceManager, 
      // Module for registering instances .
      CustomInstanceManagerModule 
    } = defineCustomInstanceManager();

    License

    MIT License