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

managementjs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

managementjs

Simple engine to inject management commands into your node projects.

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

MANAGEMENT.JS

Management.js is a toolkit that aims to bring the django-like management commands functionality into your nodejs apps.

Usage of this tool is very simple and lets the user to write 'development' tasks in a super-fast way.

SETUP: 1. Just install managamentjs via npm in the tradional way: npm install managementjs

2. Add the entry point for managementjs into your app:
  if (require('managementjs')()) {  process.exit(); }

3. Create a folder named management:
  mkdir management

USAGE:

1. Once the setup is done, you can add your first management command:
  management/clean_cache.js --------

  exports.enter = function() {  }
  exports.execute = function() { console.log('Cleaning cache...'); }
  exports.exit = function() { }
  ------------------------------------

2. Invoke your commands:
  node app.js clean_cache

For more detailed information see the docs and examples.

Keywords

FAQs

Package last updated on 24 Sep 2013

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