@presta/adapter-node
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@presta/adapter-node

Node deployment adapter plugin for Presta.

Usage

Simply add to your Presta config:

import { createConfig } from 'presta'
import node from '@presta/adapter-node'

export default createConfig({
  plugins: [node({ port: 4000 })],
})

This will generate a presta-node.js file in the .presta output directory. You can run this or deploy like any other node server:

node .presta/presta-node.js

License

MIT License © Front of House

/@presta/adapter-node/

    Package Sidebar

    Install

    npm i @presta/adapter-node

    Weekly Downloads

    4

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    13.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • estrattonbailey
    • nickbytes