Socket
Socket
Sign inDemoInstall

@warp-works/warpjs

Package Overview
Dependencies
38
Maintainers
4
Versions
406
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @warp-works/warpjs

Content management system for WarpWorks in javascript


Version published
Weekly downloads
1
Maintainers
4
Created
Weekly downloads
 

Readme

Source

WarpJS

Full stack JavaScript environment including WarpWorks code generators for MongoDB, NodeJS and Bootstrap

Releases Notes

See RELEASE.md.

Usage

npm install --save @warp-works/warpjs

To include WarpJS as part of your server, you would do something like this.

const express = require('express');
const warpjs = require('@warp-works/warpjs');

const app = express();

const staticUrlPath = '/some-static';
const warpjsBaseUrl = '/';

app.use(staticUrlPath, express.static(warpjs.publicFolder));
app.use(warpjsBaseUrl, warpjs.app(warpjsBaseUrl, staticUrlPath));

app.listen(process.env.PORT || 8080)

At the moment, don't mount WarpJS under another path than /. See the bug.

Configuration

You can configure the different path by creating .warp-works-warpjsrc. See the development configuration file.

FAQs

Last updated on 19 Oct 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc