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 🙏

© 2024 – Pkg Stats / Ryan Hefner

green-http

v1.1.3

Published

An API interface exposing AWS Greengrass green applications over HTTP.

Downloads

9

Readme

green-http

An API interface exposing AWS Greengrass green applications over HTTP.

Green application CodeFactor

Current version: 1.1.3

Lead Maintainer: Halim Qarroum

Table of contents

Install

green add npm://green-http

Description

This application exposes an HTTP RESTful API as a green application on the port 8081, that makes the bridge between your LAN or VLAN HTTP clients and the Greengrass Core ecosystem of green applications.

Since every green application is referenced and discoverable within each Greengrass Core by the green-discovery application, green-http is an attempt to allow external agents on the network to discover and interact with the API exposed by green applications over the HTTP protocol.

Multicast DNS

This application also embeds a compliant multicast DNS advertiser packaged within green-http. It exposes Greengrass Core devices on which it is deployed on the multicast DNS network under the _greengrass._tcp. service.

API

This application exposes an HTTP RESTful API which is accessible on the local LAN or VLAN by any thrid-party HTTP application. The available API endpoints are documented and described below.

Method | Resource | Query parameter(s) | Return code(s) | Payload required | Description -------------- | --------------------- | ------------------ | ----------------- | ----------------- | ------------ GET | / | None | 200 | No | By calling this route, green-http returns its green-app.json description. This route can be used to ping the service to assess its availability. GET | /shadow | None | 200 | No | This route returns the shadow document of the current Greengrass core. PUT | /shadow | None | 200 | Yes | This route allows a client ot update the current Greengrass core shadow document. ANY | /service/:path | namespace | 200/400/500 | Optional | This route can be used to query over http an Expressify endpoint exposed by any green applications running on a Greengrass core. The path is to be associated with the resource exposed by the remote Expressify endpoint. The namespace mandatory query parameter is used to specify the topic on which the remote Expressify applciation is accessible.

See also