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

@warp-works/warpjs

Package Overview
Dependencies
Maintainers
4
Versions
406
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@warp-works/warpjs

Content management system for WarpWorks in javascript

  • 2.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
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

Package last updated on 19 Oct 2022

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