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

@untool/express

Package Overview
Dependencies
Maintainers
4
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@untool/express - npm Package Compare versions

Comparing version 2.0.0-beta.0 to 2.0.0-beta.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [2.0.0-beta.1](https://github.com/untool/untool/compare/v2.0.0-beta.0...v2.0.0-beta.1) (2019-12-12)
**Note:** Version bump only for package @untool/express
# [2.0.0-beta.0](https://github.com/untool/untool/compare/v2.0.0-alpha.5...v2.0.0-beta.0) (2019-12-06)

@@ -8,0 +16,0 @@

6

package.json
{
"name": "@untool/express",
"version": "2.0.0-beta.0",
"version": "2.0.0-beta.1",
"description": "untool express mixin",

@@ -19,3 +19,3 @@ "repository": {

"dependencies": {
"@untool/yargs": "^2.0.0-beta.0",
"@untool/yargs": "^2.0.0-beta.1",
"chalk": "^3.0.0",

@@ -45,3 +45,3 @@ "compression": "^1.7.4",

},
"gitHead": "e2d1b1672c7ed68814330e482b1c4b5bd467975a"
"gitHead": "4dbabfd03e4eb712b01858e324b03d96c89cb500"
}

@@ -5,3 +5,3 @@ # `@untool/express`

`@untool/express` provides both an `untool` [preset](https://github.com/untool/untool/blob/master/packages/core/README.md#presets) and a [mixin](https://github.com/untool/untool/blob/master/packages/core/README.md#mixins) to set up your project to work with [Express](https://expressjs.com).
`@untool/express` provides both an `untool` [preset](../core/README.md#presets) and a [mixin](../core/README.md#mixins) to set up your project to work with [Express](https://expressjs.com).

@@ -22,3 +22,3 @@ It does not only provide full featured development and production mode servers, but also a mechanism for rendering static files using Express style middlewares without having to launch an actual server.

`@untool/express` registers a single command using [`@untool/yargs`](https://github.com/untool/untool/blob/master/packages/yargs/README.md#registercommandsyargs-pipe): `serve`. As to be expected, this command launches a stand-alone Express server featuring [Helmet](https://helmetjs.github.io) and a [Express' static](https://expressjs.com/en/4x/api.html#express.static) file server middlewares.
`@untool/express` registers a single command using [`@untool/yargs`](../yargs/README.md#registercommandsyargs-pipe): `serve`. As to be expected, this command launches a stand-alone Express server featuring [Helmet](https://helmetjs.github.io) and a [Express' static](https://expressjs.com/en/4x/api.html#express.static) file server middlewares.

@@ -62,3 +62,3 @@ ```bash

The above example is functionally equivalent to directly working with `@untool/core`'s [`bootstrap`](https://github.com/untool/untool/blob/master/packages/core/README.md#bootstrapconfigoverrides-options-build-only) export.
The above example is functionally equivalent to directly working with `@untool/core`'s [`bootstrap`](../core/README.md#bootstrapconfigoverrides-options-build-only) export.

@@ -92,3 +92,3 @@ ### `configureServer(app, middlewares, mode)` ([sequence](https://github.com/untool/mixinable/blob/master/README.md#defineparallel))

Implement this hook in your `@untool/core` [`core` mixin](https://github.com/untool/untool/blob/master/packages/core/README.md#mixins) and you will be able to set up Express in any way you like.
Implement this hook in your `@untool/core` [`core` mixin](../core/README.md#mixins) and you will be able to set up Express in any way you like.

@@ -103,3 +103,3 @@ **Caveat**: please do not rely on the exact number and order of middlewares and handlers passed to your mixin in the `middlewares` argument: it is highly dynamic and can be altered by other mixins (or configs). It can also change between `@untool/express` versions without triggering a `major` release.

If you want to programmatically start a production ready Express server set up using `@untool/express`' [config](https://github.com/untool/untool/blob/master/packages/express/README.md#settings), you can use this utility mixin method. It accepts a string: `serve` or `develop`.
If you want to programmatically start a production ready Express server set up using `@untool/express`' [config](../express/README.md#settings), you can use this utility mixin method. It accepts a string: `serve` or `develop`.

@@ -110,3 +110,3 @@ _This method is also exported so that you can use it in your own, non-mixin code. Import it like so: `import { runServer } from '@untool/express';`. In this mode, it also accepts another argument, `options`, which you can pass any CLI argument to._

To create an Express app to use in your own server, you can use this utility mixin method. It uses `@untool/express`' [settings](https://github.com/untool/untool/blob/master/packages/express/README.md#settings) for its configuration. It accepts a string: `serve`, `develop` or `static`.
To create an Express app to use in your own server, you can use this utility mixin method. It uses `@untool/express`' [settings](../express/README.md#settings) for its configuration. It accepts a string: `serve`, `develop` or `static`.

@@ -123,3 +123,3 @@ _This method is also exported so that you can use it in your own, non-mixin code. Import it like so: `import { createServer } from '@untool/express';`. In this mode, it also accepts another argument, `options`, which you can pass any CLI argument to._

`@untool/express` defines a couple of settings as a preset for `@untool/core`'s [configuration engine](https://github.com/untool/untool/blob/master/packages/core/README.md#configuration). You can manage and access them using the mechanisms outlined there.
`@untool/express` defines a couple of settings as a preset for `@untool/core`'s [configuration engine](../core/README.md#configuration). You can manage and access them using the mechanisms outlined there.

@@ -126,0 +126,0 @@ | Property | Type | Default |

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