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

@hammerframework/hammer-dev-server

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hammerframework/hammer-dev-server

This is the hammer dev server. It looks for "serverless functions" in the `./api/src/functions` directory and serves them. These serverless functions filenames are mapped against URIs, eg: `hello-world.js` becomes `https://localhost:8911/hello-word`.

  • 0.0.1-preview.1
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

hammer-dev-server

This is the hammer dev server. It looks for "serverless functions" in the ./api/src/functions directory and serves them. These serverless functions filenames are mapped against URIs, eg: hello-world.js becomes https://localhost:8911/hello-word.

At the moment they emulate the netlify lambda function definition.

export const handler = (event, context, callback) => {
  return callback(null, { status: 200, body: "Hello, world" });
};

TODO

  • use yargs
  • load from config and path normalization
  • create an actual npm binary
  • integrate with hammer-cli
  • improve live reload

FAQs

Package last updated on 28 Aug 2019

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