New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dozerjs

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dozerjs

NPM for Managing DozerJS

  • 0.1.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-30%
Maintainers
1
Weekly downloads
 
Created
Source

DozerJS CLI (NPM)

NPM Module for easily installing and controlling the DozerJS Foundational Framework

Installation

Install the npm globally with the following:

npm install dozerjs -g

Create Project Instance

To create a new instance of DozerJS use:

dozerjs create ProjectName

The above will build the folder ./ProjectName and populate it with the DozerJS foundational framework.

Generate Assets

The command tool also allows you to generate an API, Model, Controller set. You must currently be in the root of a DozerJS project, then use:

dozerjs generate EndpointName

The above will create:

  • /api/EndpointName.js
  • /models/EndpointName.js
  • /controllers/EndpointName.js

All of the above will have a basic structure including controller methods linked to the API requests.

Install Extensions

The tool allows for easily installing prebuilt extensions from Git repositories. There is an example extension to show the basic structure and composition. To install an extension:

dozerjs install https://github.com/ORG/REPO.git

The above (using a HTTPS formatted Git URL) will pull the extension into a temp directory and then install it into the DozerJS project.

Run DozerJS

The command tool can be used to easily run the DozerJS service. You must currently be in the root of a DozerJS project, then use:

dozerjs start

Which will start the DozerJS service in development mode.

The process can also run the production environment mode by specifying either prod or production after the command:

dozerjs start prod

Which would run with production configuration in place.

Keywords

FAQs

Package last updated on 22 Feb 2014

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