New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

craydent-cli

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

craydent-cli

Node module to manage command line execution and arguments

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
0
Created
Source

Craydent 1.0.2

by Clark Inada

Craydent is all inclusive utility library. There are several ways to use the library in NodeJS. More detailed documentation on constants can be found at Craydent Properties. More detailed documentation on methods can be found at Craydent Methods

// require with prototypes - this require will add prototypes to extend classes and add two constants ($c, $g) to the global space.
// $g is an alias to global and $c is the constant containing all the utility methods and properties.
require('craydent-cli');
$c.logit($c.VERSION);
arr.prototypedMethod(args);
// require no conflict - this require is the fully modular version with no global constants, prototypes, or methods.
var $c = require('craydent-cli/noConflict');
$c.logit($c.VERSION);
$c.prototypedMethod(arr, args);
// require global - this require constants and methods in the global space and add prototypes to extend classes.
// $g is an alias to global and $c is the constant containing all the utility methods and properties.
require('craydent-cli/global');
logit($c.VERSION);
arr.prototypedMethod(args);

Categories

  • Constants
  • CLI

Constants

CONSOLE_COLORS (Object)LOCAL_IP (String)TEMPLATE_TAG_CONFIG (Object)
DEBUG_MODE (Boolean)MODULES_LOADED (Object)TEMPLATE_VARS (Array)
ERROR_TYPES (Array)PUBLIC_IP (String)VERSION (String)
HTTP_STATUS_TEMPLATE (Object)RESPONSES (Object)

Methods

CLI

CLI

Info: CLI parser for arguments and simplem method to execute shell commands

Return: (CLI)

Parameters:

None

Overloads:

Parameters

  • options: (CLIOption[]) Array of options having properties option(required:command option ex: -c), type(data type returned using typeof, ex:string), description, required(default:false).

Download

Keywords

cli

FAQs

Package last updated on 20 Sep 2024

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