npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

triplex-endpoint

v1.0.9

Published

triplex module that enables you to create an endpoint using express. This endpoint can then be used by other modules. Triplex installs this module by default.

Downloads

29

Readme

triplex-endpoint

triplex module that enables you to create an endpoint using express. This endpoint can then be used by other modules. Triplex installs this module by default.

Installation

npm install triplex-endpoint

Usage

If you want to use this module, you need to add this module to the triplex configuration.

Hint You can pass options to triplex in multiple ways. Check the triplex documentation for more information.

{
    "modules" : {
        "triplex-endpoint" : {}
    }
}

The module will register an endpoint in triplex shared.endpoints object, which will fire an "add" event when the enpoint is ready for use. For more information, check the triplex documentation.

Options

| Name | Description | Default | | ---- | ----------- | ------- | | name | The name of the endpoint. Other modules will use this name to identify which endpoint to use. | "default" | | port | The port to listen on for connections. | 80 | | authentication.ntlm.enable | Enabled NTLM authentication for the endpoint. When supported, clients will automatically send their Windows credentials. | false | authentication.ntlm.ldap.url | The ldap url for the domain controller. ex. "ldap://DC01". If the value is not specified, and triplex is running on a windows computer and is running under a user account that is part of the domain, the value is automatically set for the user account's domain. | | | authentication.ntlm.ldap.baseDN | The ldap baseDN string. ex. "dc=acme,dc=com". If the value is not specified, and triplex is running on a windows computer and is running under a user account that is part of the domain, the value is automatically set for the user account's domain. | |

Example

In the example below, an endpoint with name "intranet" is created that is listening for connections on port 8080 and has ntlm authentication enabled.

Then, the hsp module is set to use this endpoint.

Note that the ldap configuration is omitted, so this will only work on a windows computer while running under a domain user account. If you want to run this example on a linux computer for example, you should check out the configuration options in the opens table above.

{
    "modules" : {
        "triplex-endpoint" : {
            "name" : "intranet",
            "port" : 8080,
            "authentication" : {
                "ntlm" : {
                    "enable" : true
                }
            }
        },
        "triplex-hsp" : {
            "endpoint" : "intranet",
            "path" : "C:\\pub\\www"
        }
    }
}